summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 8ca6350b..2424e87d 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -614,7 +614,7 @@ int _alpm_lstat(const char *path, struct stat *buf)
newpath[len - 1] = '\0';
}
- ret = lstat(path, buf);
+ ret = lstat(newpath, buf);
FREE(newpath);
return(ret);