summaryrefslogtreecommitdiff
path: root/regress/sbin/newfs/checknewfs
diff options
context:
space:
mode:
authorSebastien Marie <semarie@cvs.openbsd.org>2015-10-14 13:22:57 +0000
committerSebastien Marie <semarie@cvs.openbsd.org>2015-10-14 13:22:57 +0000
commitb865fc84e1e3a5e9a99d153c353f63dca09054e3 (patch)
tree2911941bcb88ac37f15c3bdf743d730045fad860 /regress/sbin/newfs/checknewfs
parent8f235afe50a06434ea7bd073834dd6e06ebd5c94 (diff)
unbreak regress/sbin/newfs
/dev/prandom is no more since Nov 30, 2008 OK otto@
Diffstat (limited to 'regress/sbin/newfs/checknewfs')
-rw-r--r--regress/sbin/newfs/checknewfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sbin/newfs/checknewfs b/regress/sbin/newfs/checknewfs
index c659905c156..99aff12689b 100644
--- a/regress/sbin/newfs/checknewfs
+++ b/regress/sbin/newfs/checknewfs
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: checknewfs,v 1.4 2011/04/18 16:52:11 thib Exp $
+# $OpenBSD: checknewfs,v 1.5 2015/10/14 13:22:56 semarie Exp $
# Written by Otto Moerbeek, 2007, Public domain
@@ -12,7 +12,7 @@ trap 'cleanup' INT
dotest() {
image=$(mktemp -t imageXXXXXXXXXX);
- dd if=/dev/prandom of=$image bs=512 count=$1 2>/dev/null &&
+ dd if=/dev/random of=$image bs=512 count=$1 2>/dev/null &&
vnconfig vnd0 $image &&
disklabel -w vnd0 $2 &&
newfs $3 /dev/rvnd0a