ndis(4): adjustments for our random() specific implementation.
commitf0a486d17186001c93c08d3a3ad8b62498080196
authorpfg <pfg@FreeBSD.org>
Sun, 22 May 2016 00:29:25 +0000 (22 00:29 +0000)
committerpfg <pfg@FreeBSD.org>
Sun, 22 May 2016 00:29:25 +0000 (22 00:29 +0000)
tree1366d29f6724e4fda5dfef0ebe7d9d127f3fd07b
parentce89d3075e1793c94e7a7345a2537a7dc817f91d
ndis(4):  adjustments for our random() specific implementation.

- Revert r300377: The implementation claims to return a value
  within the range. [1]
- Adjust the value for the case of a zero seed, whihc according
  to standards should be equivalent to a seed of value 1.

Pointed out by: cem
sys/compat/ndis/subr_ntoskrnl.c