diff options
author | ache <ache@FreeBSD.org> | 1997-06-14 00:17:53 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-06-14 00:17:53 +0000 |
commit | 1b5fc58b0b83c6f4268bdcfa1f6b16335729bbde (patch) | |
tree | 3a157d0e1498a77154746ddf16c1e6d15ffc64dc /sbin/fsirand/fsirand.c | |
parent | 98ddc15c28ed1a38237156f5d5c73c6ddecf0ec9 (diff) | |
download | FreeBSD-src-1b5fc58b0b83c6f4268bdcfa1f6b16335729bbde.zip FreeBSD-src-1b5fc58b0b83c6f4268bdcfa1f6b16335729bbde.tar.gz |
Remove srandomdev fallback
Diffstat (limited to 'sbin/fsirand/fsirand.c')
-rw-r--r-- | sbin/fsirand/fsirand.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c index 547e3a4..4e2ea7e 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) { |