aboutsummaryrefslogtreecommitdiff
path: root/games/fortune
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/fortune
parent687ee69a2abe1b2c2c56c935dda90df37c17ed04 (diff)
downloadsrc-b5cee521b35ec505bc93200b6af3d68e72d142e2.tar.gz
src-b5cee521b35ec505bc93200b6af3d68e72d142e2.zip
Remove srandomdev fallback code
Notes
Notes: svn path=/head/; revision=26627
Diffstat (limited to 'games/fortune')
-rw-r--r--games/fortune/fortune/fortune.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c
index c58494141154..6d7ec8819030 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) ||