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/nfsclient | |
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/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_socket.c | 2 |
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); } } |