summaryrefslogtreecommitdiff
path: root/games/battlestar
diff options
context:
space:
mode:
Diffstat (limited to 'games/battlestar')
-rw-r--r--games/battlestar/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/battlestar/init.c b/games/battlestar/init.c
index c61a05451ba..99832250183 100644
--- a/games/battlestar/init.c
+++ b/games/battlestar/init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init.c,v 1.8 2002/02/16 21:27:09 millert Exp $ */
+/* $OpenBSD: init.c,v 1.9 2002/12/06 21:48:51 millert Exp $ */
/* $NetBSD: init.c,v 1.4 1995/03/21 15:07:35 cgd Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)init.c 8.4 (Berkeley) 4/30/95";
#else
-static char rcsid[] = "$OpenBSD: init.c,v 1.8 2002/02/16 21:27:09 millert Exp $";
+static char rcsid[] = "$OpenBSD: init.c,v 1.9 2002/12/06 21:48:51 millert Exp $";
#endif
#endif /* not lint */
@@ -59,7 +59,7 @@ initialize(filename)
puts("First Adventure game written by His Lordship, the honorable");
puts("Admiral D.W. Riggle\n");
location = dayfile;
- srandom(getpid());
+ srandomdev();
username = getutmp();
wordinit();
if (filename == NULL) {