From 7ec3418f8ed9b60d415a71ab4880db03019f83f5 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 11 Dec 2007 20:39:32 +0000 Subject: Fix typo in the comment --- lib/libc/stdlib/rand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') 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, -- cgit v1.1