]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/network.c
umount.nfs: Fix return value of nfs_mount_protocol()
[nfs-utils.git] / utils / mount / network.c
index 234e7f3e344f11b1e61106483cfb5c4991eb12e3..72f4b845da4bf6f578eeb2cadd30fa0c31812621 100644 (file)
@@ -1337,7 +1337,7 @@ static unsigned short nfs_mount_protocol(struct mount_options *options)
                        return IPPROTO_UDP;
        }
 
-       return nfs_nfs_version(options);
+       return nfs_nfs_protocol(options);
 }
 
 /*