From 904e937fbce1e5033a6d76fd0ba8dcacc2e49cad Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 24 Sep 1997 06:22:40 +0000 Subject: Use srandomdev --- games/fortune/strfile/strfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games/fortune/strfile') diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c index f8c52a3..19cd026 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; -- cgit v1.1