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/random/random.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'games/random') diff --git a/games/random/random.c b/games/random/random.c index 4d17b53..076990b 100644 --- a/games/random/random.c +++ b/games/random/random.c @@ -103,8 +103,7 @@ main(argc, argv) /* NOTREACHED */ } - if (srandomdev() < 0) - srandom(time(NULL) ^ getpid()); + srandomdev(); /* Compute a random exit status between 0 and denom - 1. */ if (random_exit) -- cgit v1.1