diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 1997-11-05 06:11:35 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 1997-11-05 06:11:35 +0000 |
| commit | 48761ea3adea2d0b35c2a56a7e013c2a0e848cb8 (patch) | |
| tree | ee221825a6451dc5faf11beda1285e49e767015d /usr.sbin/sysinstall/misc.c | |
| parent | 0ce1971c2ae37eeb7697123d566a0c23ea0318b0 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/misc.c')
| -rw-r--r-- | usr.sbin/sysinstall/misc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/misc.c b/usr.sbin/sysinstall/misc.c index c5d731631152..d3d67a7ea691 100644 --- a/usr.sbin/sysinstall/misc.c +++ b/usr.sbin/sysinstall/misc.c @@ -1,7 +1,7 @@ /* * Miscellaneous support routines.. * - * $Id: misc.c,v 1.34 1997/04/03 13:44:59 jkh Exp $ + * $Id: misc.c,v 1.35 1997/06/13 07:11:56 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -338,7 +338,8 @@ Mount(char *mountp, void *dev) msgDebug("mount %s %s\n", device, mountpoint); ufsargs.fspec = device; - if (mount(MOUNT_UFS, mountpoint, MNT_ASYNC, (caddr_t)&ufsargs) == -1) { + if (mount(MOUNT_UFS, mountpoint, RunningAsInit ? MNT_ASYNC : 0, + (caddr_t)&ufsargs) == -1) { msgConfirm("Error mounting %s on %s : %s", device, mountpoint, strerror(errno)); return DITEM_FAILURE; } |
