From ba2c3a6557c2a2a2e39647cac6a1554abd2e965f Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 22 Jul 2008 15:25:35 +0000 Subject: [PATCH] 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(-) diff --git a/lib/libc/gen/arc4random.c b/lib/libc/gen/arc4random.c index 56e457b8e9fb..6f2dbdec278a 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) \