diff options
author | 2002-04-04 23:47:33 +0000 | |
---|---|---|
committer | 2002-04-04 23:47:33 +0000 | |
commit | 1715c306a4fa0e8e7abee9da629202f3fd468654 (patch) | |
tree | 67325916d1d662ada4e4434c2acdc750208c6247 | |
parent | uperf attaches to ebus not psycho these days (diff) | |
download | wireguard-openbsd-1715c306a4fa0e8e7abee9da629202f3fd468654.tar.xz wireguard-openbsd-1715c306a4fa0e8e7abee9da629202f3fd468654.zip |
permit compiling without NFS
-rw-r--r-- | sys/arch/vax/vax/autoconf.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/vax/vax/autoconf.c b/sys/arch/vax/vax/autoconf.c index f2410fd171c..58708618d03 100644 --- a/sys/arch/vax/vax/autoconf.c +++ b/sys/arch/vax/vax/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.16 2002/03/14 01:26:48 millert Exp $ */ +/* $OpenBSD: autoconf.c,v 1.17 2002/04/04 23:47:33 deraadt Exp $ */ /* $NetBSD: autoconf.c,v 1.45 1999/10/23 14:56:05 ragge Exp $ */ /* @@ -90,9 +90,11 @@ cpu_configure() cold = 0; if (mountroot == NULL) { - if (B_TYPE(bootdev) >= BDEV_NET) + if (B_TYPE(bootdev) >= BDEV_NET) { +#ifdef NFSCLIENT mountroot = nfs_mountroot; - else +#endif + } else mountroot = dk_mountroot; } |