From 1e029744bc093b58f720d755f48095498491539a Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 24 Sep 1997 06:22:40 +0000 Subject: [PATCH] Use srandomdev --- games/fortune/strfile/strfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c index f8c52a382e8a..19cd02635fab 100644 --- a/games/fortune/strfile/strfile.c +++ b/games/fortune/strfile/strfile.c @@ -429,7 +429,7 @@ void randomize() register long tmp; register long *sp; - srandom((int)(time((time_t *) NULL) ^ getpid())); + srandomdev(); Tbl.str_flags |= STR_RANDOM; cnt = Tbl.str_numstr;