summaryrefslogtreecommitdiffstats
path: root/sbin/umount
diff options
context:
space:
mode:
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 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"));
OpenPOWER on IntegriCloud