diff options
Diffstat (limited to 'sbin/newfs/mkfs.c')
-rw-r--r-- | sbin/newfs/mkfs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c index d7fea21..e50aef8 100644 --- a/sbin/newfs/mkfs.c +++ b/sbin/newfs/mkfs.c @@ -123,8 +123,11 @@ mkfs(struct partition *pp, char *fsys, int fi, int fo) int width; char tmpbuf[100]; /* XXX this will break in about 2,500 years */ - time(&utime); - if (!randinit) { + if (Rflag) + utime = 1000000000; + else + time(&utime); + if (!Rflag && !randinit) { randinit = 1; srandomdev(); } |