summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-24 05:14:27 +0000
committerache <ache@FreeBSD.org>1997-09-24 05:14:27 +0000
commit7e983e509909d3549b9b4cef804cf5f052529d52 (patch)
tree4f2f1ec17b91920686a09ff2c7dd93797e69489a /games
parent78f940e7b6b86220067ab198dfa3128c67511d5b (diff)
downloadFreeBSD-src-7e983e509909d3549b9b4cef804cf5f052529d52.zip
FreeBSD-src-7e983e509909d3549b9b4cef804cf5f052529d52.tar.gz
Use srandomdev()
Diffstat (limited to 'games')
-rw-r--r--games/fish/fish.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/fish/fish.c b/games/fish/fish.c
index 3adf8fb..8ca6a32 100644
--- a/games/fish/fish.c
+++ b/games/fish/fish.c
@@ -87,7 +87,7 @@ main(argc, argv)
exit(1);
}
- srandom(time((time_t *)NULL));
+ srandomdev();
instructions();
init();
OpenPOWER on IntegriCloud