diff options
-rw-r--r-- | games/fortune/strfile/strfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |