summaryrefslogtreecommitdiffstats
path: root/games/quiz
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-24 04:48:24 +0000
committerache <ache@FreeBSD.org>1997-09-24 04:48:24 +0000
commit297678a001aafa7f8ae3bc00b18772b660f9c510 (patch)
treecee4aebf5a060021c393ffed583d7fc47fca9d45 /games/quiz
parent0f3d4fc289f5017634ed2597317e7e15ae3d9f6d (diff)
downloadFreeBSD-src-297678a001aafa7f8ae3bc00b18772b660f9c510.zip
FreeBSD-src-297678a001aafa7f8ae3bc00b18772b660f9c510.tar.gz
Use srandomdev
Diffstat (limited to 'games/quiz')
-rw-r--r--games/quiz/quiz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/quiz/quiz.c b/games/quiz/quiz.c
index 287988c..f820d1f 100644
--- a/games/quiz/quiz.c
+++ b/games/quiz/quiz.c
@@ -223,7 +223,7 @@ quiz()
int next;
char *answer, *s, *t, question[LINE_SZ];
- srandom(time(NULL));
+ srandomdev();
guesses = rights = wrongs = 0;
for (;;) {
if (qsize == 0)
OpenPOWER on IntegriCloud