From 639d7e6fa871efa9cc81df78635aea6a59627625 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 22 Jul 2008 15:25:35 +0000 Subject: Change /dev/urandom to /dev/random since urandom marked as XXX Deprecated alias in /sys/dev/random/randomdev.c --- lib/libc/gen/arc4random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') diff --git a/lib/libc/gen/arc4random.c b/lib/libc/gen/arc4random.c index 56e457b..6f2dbde 100644 --- a/lib/libc/gen/arc4random.c +++ b/lib/libc/gen/arc4random.c @@ -54,7 +54,7 @@ struct arc4_stream { static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER; -#define RANDOMDEV "/dev/urandom" +#define RANDOMDEV "/dev/random" #define THREAD_LOCK() \ do { \ if (__isthreaded) \ -- cgit v1.1