diff options
author | peter <peter@FreeBSD.org> | 2014-08-21 04:31:48 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2014-08-21 04:31:48 +0000 |
commit | 644cd5de6d91256b5541170968a9f8ddcd2e6ee5 (patch) | |
tree | e46dd44edcbf301405070157cece7dba70556ac2 /sbin | |
parent | 7d882e21ec1f53ab650df92feedfa9ef02d5f872 (diff) | |
download | FreeBSD-src-644cd5de6d91256b5541170968a9f8ddcd2e6ee5.zip FreeBSD-src-644cd5de6d91256b5541170968a9f8ddcd2e6ee5.tar.gz |
MFC r270062: switch rpc mount protocol for showmount and umount from
mountv1 to mountv3 - it breaks by default on the new netapp release with
the legacy protocols removed.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/umount/umount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c index f2e02f2..521bbc8 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")); |