aboutsummaryrefslogtreecommitdiff
path: root/sysutils/vchanger/files/patch-src_uuidlookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/vchanger/files/patch-src_uuidlookup.c')
-rw-r--r--sysutils/vchanger/files/patch-src_uuidlookup.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/vchanger/files/patch-src_uuidlookup.c b/sysutils/vchanger/files/patch-src_uuidlookup.c
new file mode 100644
index 000000000000..bf9080f81a93
--- /dev/null
+++ b/sysutils/vchanger/files/patch-src_uuidlookup.c
@@ -0,0 +1,11 @@
+--- src/uuidlookup.c.orig 2017-01-06 15:55:06 UTC
++++ src/uuidlookup.c
+@@ -215,7 +215,7 @@ static int GetDevMountpoint(char *mountp
+ for (n = 0; n < mcount; n++)
+ {
+ if (strcasecmp(devname, fs[n].f_mntfromname) == 0) {
+- strncpy(mountp, fs[n].f_mnttoname, mountp_sz);
++ strncpy(mountp, fs[n].f_mntonname, mountp_sz);
+ rc = 0;
+ }
+ }