summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/mkfs.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-06-14 00:17:53 +0000
committerache <ache@FreeBSD.org>1997-06-14 00:17:53 +0000
commit1b5fc58b0b83c6f4268bdcfa1f6b16335729bbde (patch)
tree3a157d0e1498a77154746ddf16c1e6d15ffc64dc /sbin/newfs/mkfs.c
parent98ddc15c28ed1a38237156f5d5c73c6ddecf0ec9 (diff)
downloadFreeBSD-src-1b5fc58b0b83c6f4268bdcfa1f6b16335729bbde.zip
FreeBSD-src-1b5fc58b0b83c6f4268bdcfa1f6b16335729bbde.tar.gz
Remove srandomdev fallback
Diffstat (limited to 'sbin/newfs/mkfs.c')
-rw-r--r--sbin/newfs/mkfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index 0c6c1d7..f36bcfd 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -154,8 +154,7 @@ mkfs(pp, fsys, fi, fo)
#ifdef FSIRAND
if (!randinit) {
randinit = 1;
- if (srandomdev() < 0)
- srandom(utime ^ getpid());
+ srandomdev();
}
#endif
if (mfs) {
OpenPOWER on IntegriCloud