summaryrefslogtreecommitdiff
path: root/games/quiz/quiz.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/quiz/quiz.c')
-rw-r--r--games/quiz/quiz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/quiz/quiz.c b/games/quiz/quiz.c
index 5815b5cae8f..a403a468850 100644
--- a/games/quiz/quiz.c
+++ b/games/quiz/quiz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: quiz.c,v 1.11 2002/05/31 03:40:01 pjanzen Exp $ */
+/* $OpenBSD: quiz.c,v 1.12 2002/12/06 21:48:51 millert Exp $ */
/* $NetBSD: quiz.c,v 1.9 1995/04/22 10:16:58 cgd Exp $ */
/*-
@@ -48,7 +48,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)quiz.c 8.3 (Berkeley) 5/4/95";
#else
-static char rcsid[] = "$OpenBSD: quiz.c,v 1.11 2002/05/31 03:40:01 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: quiz.c,v 1.12 2002/12/06 21:48:51 millert Exp $";
#endif
#endif /* not lint */
@@ -233,7 +233,7 @@ quiz()
char *answer, *t, question[LINE_SZ];
const char *s;
- srandom(time(NULL));
+ srandomdev();
guesses = rights = wrongs = 0;
for (;;) {
if (qsize == 0)