diff options
author | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-01-20 09:13:23 +0000 |
---|---|---|
committer | Thomas Graichen <graichen@cvs.openbsd.org> | 1997-01-20 09:13:23 +0000 |
commit | 29b30412b47fb9b1c047dc38bf1080ab03e0dc2d (patch) | |
tree | a96f9bca3bf0e38e1937e71f28bb6fef66d931c5 /sys/nfs | |
parent | a712527340cfa65d54620eebac075dfc894a6b98 (diff) |
replace #ifndef NFSCLIENT with #if !defined(NFSCLIENT) || NETHER == 0
because revarpwhoami is defined in if_ether.c and netbooting without
an ethernet card is very unusual :-)
p.s.: seems like nobody uses OpenBSD in machines without a network
card - because due to this it was'nt possible to build a kernel for
such a configuration ...
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_boot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_boot.c b/sys/nfs/nfs_boot.c index bd765e0b705..b3488946e71 100644 --- a/sys/nfs/nfs_boot.c +++ b/sys/nfs/nfs_boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_boot.c,v 1.7 1996/10/20 17:07:27 briggs Exp $ */ +/* $OpenBSD: nfs_boot.c,v 1.8 1997/01/20 09:13:22 graichen Exp $ */ /* $NetBSD: nfs_boot.c,v 1.26 1996/05/07 02:51:25 thorpej Exp $ */ /* @@ -54,7 +54,7 @@ #include <nfs/xdr_subs.h> #include <nfs/nfs_var.h> -#ifndef NFSCLIENT +#if !defined(NFSCLIENT) || NETHER == 0 int nfs_boot_init(nd, procp) struct nfs_diskless *nd; @@ -72,7 +72,7 @@ nfs_boot_getfh(bpsin, key, ndmntp) /* can not get here */ } -#else /* (ifdef NFSCLIENT) */ +#else /* (if !defined(NFSCLIENT) || NETHER == 0) */ /* * Support for NFS diskless booting, specifically getting information |