diff options
author | briggs <briggs@cvs.openbsd.org> | 1996-10-20 17:05:22 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1996-10-20 17:05:22 +0000 |
commit | f3250f7be82ced14528ca5bad9511d2a1adb82f3 (patch) | |
tree | 1a5ac2a8231ecd2b985d51693b914a83eafca503 /sys | |
parent | 86d4819cbc8105e80708b83bbcdf8646bfc863b7 (diff) |
Make support for booting over NFS dependent on NFSCLIENT instead of NETHER.
Suggested in a NetBSD PR from Paul Goyette.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfs/nfs_boot.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/nfs/nfs_boot.c b/sys/nfs/nfs_boot.c index f40a4883fd1..0cfe1606723 100644 --- a/sys/nfs/nfs_boot.c +++ b/sys/nfs/nfs_boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_boot.c,v 1.5 1996/05/10 12:31:01 deraadt Exp $ */ +/* $OpenBSD: nfs_boot.c,v 1.6 1996/10/20 17:05:21 briggs Exp $ */ /* $NetBSD: nfs_boot.c,v 1.26 1996/05/07 02:51:25 thorpej Exp $ */ /* @@ -54,8 +54,7 @@ #include <nfs/xdr_subs.h> #include <nfs/nfs_var.h> -#include "ether.h" -#if NETHER == 0 +#ifndef NFSCLIENT int nfs_boot_init(nd, procp) struct nfs_diskless *nd; @@ -73,7 +72,7 @@ nfs_boot_getfh(bpsin, key, ndmntp) /* can not get here */ } -#else /* NETHER */ +#else /* (ifdef NFSCLIENT) */ /* * Support for NFS diskless booting, specifically getting information @@ -556,4 +555,4 @@ out: return error; } -#endif /* NETHER */ +#endif /* ifdef NFSCLIENT */ |