aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsirand/fsirand.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-06-14 00:17:53 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-06-14 00:17:53 +0000
commit545cda7db5ae1957628bc73b02aaf805a35474de (patch)
tree5ff73517d48e1ae1c69b19522582bb41d07a36a7 /sbin/fsirand/fsirand.c
parent96c31b26181a194d24da9e7f89671ffa1e9d92db (diff)
downloadsrc-545cda7db5ae1957628bc73b02aaf805a35474de.tar.gz
src-545cda7db5ae1957628bc73b02aaf805a35474de.zip
Remove srandomdev fallback
Notes
Notes: svn path=/head/; revision=26625
Diffstat (limited to 'sbin/fsirand/fsirand.c')
-rw-r--r--sbin/fsirand/fsirand.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c
index 547e3a4ccd95..4e2ea7e06a42 100644
--- a/sbin/fsirand/fsirand.c
+++ b/sbin/fsirand/fsirand.c
@@ -84,8 +84,7 @@ main(argc, argv)
if (argc - optind < 1)
usage(1);
- if (srandomdev() < 0)
- srandom(time(NULL) ^ getpid());
+ srandomdev();
/* Increase our data size to the max */
if (getrlimit(RLIMIT_DATA, &rl) == 0) {