summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_sysent.c2
-rw-r--r--sys/kern/syscalls.c2
-rw-r--r--sys/kern/syscalls.master4
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 6246b0a..eadd408 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -185,7 +185,7 @@ struct sysent sysent[] = {
{ 2, (sy_call_t *)fstatfs }, /* 158 = fstatfs */
{ 0, (sy_call_t *)nosys }, /* 159 = nosys */
{ 0, (sy_call_t *)nosys }, /* 160 = nosys */
-#ifdef NFS
+#if defined(NFS) && !defined (NFS_NOSERVER)
{ 2, (sy_call_t *)getfh }, /* 161 = getfh */
#else
{ 0, (sy_call_t *)nosys }, /* 161 = nosys */
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 3e071bf..345ac09 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -171,7 +171,7 @@ char *syscallnames[] = {
"fstatfs", /* 158 = fstatfs */
"#159", /* 159 = nosys */
"#160", /* 160 = nosys */
-#ifdef NFS
+#if defined(NFS) && !defined (NFS_NOSERVER)
"getfh", /* 161 = getfh */
#else
"#161", /* 161 = nosys */
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index e715693..5392db9 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
- $Id: syscalls.master,v 1.22 1996/01/04 20:28:48 wollman Exp $
+ $Id: syscalls.master,v 1.23 1996/01/08 04:13:25 peter Exp $
; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
;
; System call name/number master file.
@@ -261,7 +261,7 @@
158 STD BSD { int fstatfs(int fd, struct statfs *buf); }
159 UNIMPL NOHIDE nosys
160 UNIMPL NOHIDE nosys
-#ifdef NFS
+#if defined(NFS) && !defined (NFS_NOSERVER)
161 STD BSD { int getfh(char *fname, fhandle_t *fhp); }
#else
161 UNIMPL BSD nosys
OpenPOWER on IntegriCloud