void-packages/srcpkgs/mkinitcpio-nfs-utils/patches/nfsmount-fix-wrong-umount-path.patch
2015-06-26 04:03:54 +02:00

14 lines
346 B
Diff

--- a/nfsmount/mount.c 2012-11-10 20:16:31.894540497 -0500
+++ b/nfsmount/mount.c 2012-11-10 20:16:39.957369011 -0500
@@ -358,9 +358,9 @@
bail:
if (mounted) {
if (data->flags & NFS_MOUNT_VER3) {
- umount_v3(path, clnt);
+ umount_v3(rem_path, clnt);
} else {
- umount_v2(path, clnt);
+ umount_v2(rem_path, clnt);
}
}