From 52504c6fc431d4fe738b5534fa63b2994fed63ce Mon Sep 17 00:00:00 2001 From: graichen Date: Mon, 20 Jan 1997 09:13:22 +0000 Subject: [PATCH] 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 ... --- sys/nfs/nfs_boot.c | 6 +++--- 1 file 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 #include -#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 -- 2.20.1