diff options
author | ache <ache@FreeBSD.org> | 1997-06-14 00:37:08 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-06-14 00:37:08 +0000 |
commit | aee8cc2f529af45ad3fd8c87d76b9d1474eb4253 (patch) | |
tree | a3e05728fae7026fd887ea01b4f1aba81a1df5b4 /games/random | |
parent | 66946f930588a5258a235e5cfaac5d2085445620 (diff) | |
download | FreeBSD-src-aee8cc2f529af45ad3fd8c87d76b9d1474eb4253.zip FreeBSD-src-aee8cc2f529af45ad3fd8c87d76b9d1474eb4253.tar.gz |
Remove srandomdev fallback code
Diffstat (limited to 'games/random')
-rw-r--r-- | games/random/random.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) |