Lines 1-11
Link Here
|
1 |
--- src/uuidlookup.c.orig 2017-01-06 15:55:06 UTC |
|
|
2 |
+++ src/uuidlookup.c |
3 |
@@ -215,7 +215,7 @@ static int GetDevMountpoint(char *mountp |
4 |
for (n = 0; n < mcount; n++) |
5 |
{ |
6 |
if (strcasecmp(devname, fs[n].f_mntfromname) == 0) { |
7 |
- strncpy(mountp, fs[n].f_mnttoname, mountp_sz); |
8 |
+ strncpy(mountp, fs[n].f_mntonname, mountp_sz); |
9 |
rc = 0; |
10 |
} |
11 |
} |