diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-04-04 19:24:08 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-04-04 19:24:08 +0000 |
commit | 18b25cc43d0f5b5a8710fb2ef5c5a8e9216ef21c (patch) | |
tree | 37c24fe724b3f6e0d10456c9a411ef4931061b71 /sys/nfsserver | |
parent | 71e0ff381104d5706f9c36ab4fefed77c30f5653 (diff) | |
download | FreeBSD-src-18b25cc43d0f5b5a8710fb2ef5c5a8e9216ef21c.zip FreeBSD-src-18b25cc43d0f5b5a8710fb2ef5c5a8e9216ef21c.tar.gz |
Spell 2 as SHUT_RDWR when used as an argument to soshutdown().
Diffstat (limited to 'sys/nfsserver')
-rw-r--r-- | sys/nfsserver/nfs_syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsserver/nfs_syscalls.c b/sys/nfsserver/nfs_syscalls.c index 63acf7c..b901797 100644 --- a/sys/nfsserver/nfs_syscalls.c +++ b/sys/nfsserver/nfs_syscalls.c @@ -566,7 +566,7 @@ nfsrv_zapsock(struct nfssvc_sock *slp) so->so_rcv.sb_flags &= ~SB_UPCALL; so->so_upcall = NULL; so->so_upcallarg = NULL; - soshutdown(so, 2); + soshutdown(so, SHUT_RDWR); closef(fp, NULL); if (slp->ns_nam) FREE(slp->ns_nam, M_SONAME); |