summaryrefslogtreecommitdiff
path: root/core/mkinitcpio-nfs-utils/nfsmount-fix-wrong-umount-path.patch
blob: 0f62fea823c3a082f98ff38096629a9e2402f1da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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);
 		}
 	}