summaryrefslogtreecommitdiffstats
path: root/games/phantasia/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/phantasia/main.c')
-rw-r--r--games/phantasia/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/phantasia/main.c b/games/phantasia/main.c
index 90ddcba..3ed01dd 100644
--- a/games/phantasia/main.c
+++ b/games/phantasia/main.c
@@ -367,7 +367,7 @@ initialstate()
error(_PATH_VOID);
/*NOTREACHED*/
- srandom((unsigned) time((long *) NULL)); /* prime random numbers */
+ srandomdev();
}
/* */
/************************************************************************
OpenPOWER on IntegriCloud