summaryrefslogtreecommitdiff
path: root/sbin/umount
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2014-11-19 01:07:58 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2014-11-19 01:07:58 +0000
commit9268022b74279434ed6300244e3f977e56a8ceb5 (patch)
tree377ac0ac449528621eb192cd245adadb5fd53668 /sbin/umount
parent29c34e9d2781cf25403647fb5af7d7ddb23be7e1 (diff)
parent8c3d6a4ab2a4a95d864d9a32d0157d7de90498a4 (diff)
downloadsrc-test2-9268022b74279434ed6300244e3f977e56a8ceb5.tar.gz
src-test2-9268022b74279434ed6300244e3f977e56a8ceb5.zip
Notes
Diffstat (limited to 'sbin/umount')
-rw-r--r--sbin/umount/umount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c
index f2e02f26dccf..521bbc890b64 100644
--- a/sbin/umount/umount.c
+++ b/sbin/umount/umount.c
@@ -394,7 +394,7 @@ umountfs(struct statfs *sfs)
* has been unmounted.
*/
if (ai != NULL && !(fflag & MNT_FORCE) && do_rpc) {
- clp = clnt_create(hostp, MOUNTPROG, MOUNTVERS, "udp");
+ clp = clnt_create(hostp, MOUNTPROG, MOUNTVERS3, "udp");
if (clp == NULL) {
warnx("%s: %s", hostp,
clnt_spcreateerror("MOUNTPROG"));