random: Fix random number generator.
authorBen Pfaff <blp@nicira.com>
Sat, 13 Nov 2010 01:02:17 +0000 (17:02 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 15 Nov 2010 17:32:58 +0000 (09:32 -0800)
commit7918636f05b058cf621cca1e6772e427b5eb736e
treebe3f4711ed0d1ee1010e2a5fc7ef61d62b518b7e
parent633d7b903cf4f428c7a89cac49c3008c78fa01f5
random: Fix random number generator.

As written, this "32-bit" random number generator nevers returns a value
bigger than 0xfffe0.  This fixes the problem.
lib/random.c