aboutsummaryrefslogtreecommitdiff
path: root/games/random
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-06-14 00:37:08 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-06-14 00:37:08 +0000
commitb5cee521b35ec505bc93200b6af3d68e72d142e2 (patch)
treecc614ca51387f843892d04e1f2fd5ae2f62995f0 /games/random
parent687ee69a2abe1b2c2c56c935dda90df37c17ed04 (diff)
downloadsrc-b5cee521b35ec505bc93200b6af3d68e72d142e2.tar.gz
src-b5cee521b35ec505bc93200b6af3d68e72d142e2.zip
Remove srandomdev fallback code
Notes
Notes: svn path=/head/; revision=26627
Diffstat (limited to 'games/random')
-rw-r--r--games/random/random.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/random/random.c b/games/random/random.c
index 4d17b5355862..076990b38ac5 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)