diff options
author | ache <ache@FreeBSD.org> | 2007-12-11 20:39:32 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2007-12-11 20:39:32 +0000 |
commit | 7ec3418f8ed9b60d415a71ab4880db03019f83f5 (patch) | |
tree | 4594b4ea204c571bc7c95979c200900cad2719bd /lib/libc/stdlib/rand.c | |
parent | eb33bdbe0e7736cf877a836cb1ab60a1ee9d922c (diff) | |
download | FreeBSD-src-7ec3418f8ed9b60d415a71ab4880db03019f83f5.zip FreeBSD-src-7ec3418f8ed9b60d415a71ab4880db03019f83f5.tar.gz |
Fix typo in the comment
Diffstat (limited to 'lib/libc/stdlib/rand.c')
-rw-r--r-- | lib/libc/stdlib/rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/rand.c b/lib/libc/stdlib/rand.c index d651a70..077c1ba 100644 --- a/lib/libc/stdlib/rand.c +++ b/lib/libc/stdlib/rand.c @@ -60,7 +60,7 @@ do_rand(unsigned long *ctx) #else /* !USE_WEAK_SEEDING */ /* * Compute x = (7^5 * x) mod (2^31 - 1) - * wihout overflowing 31 bits: + * without overflowing 31 bits: * (2^31 - 1) = 127773 * (7^5) + 2836 * From "Random number generators: good ones are hard to find", * Park and Miller, Communications of the ACM, vol. 31, no. 10, |