From aee8cc2f529af45ad3fd8c87d76b9d1474eb4253 Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 14 Jun 1997 00:37:08 +0000 Subject: Remove srandomdev fallback code --- games/fortune/fortune/fortune.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'games/fortune') diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index c584941..6d7ec88 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -199,8 +199,7 @@ char *av[]; #endif init_prob(); - if (srandomdev() < 0) - srandom((unsigned long)(time((time_t *) NULL) ^ getpid())); + srandomdev(); do { get_fort(); } while ((Short_only && fortlen() > SLEN) || -- cgit v1.1