summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-04-04 19:24:08 +0000
committerrwatson <rwatson@FreeBSD.org>2004-04-04 19:24:08 +0000
commit18b25cc43d0f5b5a8710fb2ef5c5a8e9216ef21c (patch)
tree37c24fe724b3f6e0d10456c9a411ef4931061b71 /sys/nfsclient
parent71e0ff381104d5706f9c36ab4fefed77c30f5653 (diff)
downloadFreeBSD-src-18b25cc43d0f5b5a8710fb2ef5c5a8e9216ef21c.zip
FreeBSD-src-18b25cc43d0f5b5a8710fb2ef5c5a8e9216ef21c.tar.gz
Spell 2 as SHUT_RDWR when used as an argument to soshutdown().
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_socket.c b/sys/nfsclient/nfs_socket.c
index 0440c7b..eb80620 100644
--- a/sys/nfsclient/nfs_socket.c
+++ b/sys/nfsclient/nfs_socket.c
@@ -388,7 +388,7 @@ nfs_disconnect(struct nfsmount *nmp)
if (nmp->nm_so) {
so = nmp->nm_so;
nmp->nm_so = NULL;
- soshutdown(so, 2);
+ soshutdown(so, SHUT_RDWR);
soclose(so);
}
}
OpenPOWER on IntegriCloud