Commit f408b8f1 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

path: fix invalid variable access in path_is_mount_point()

parent 1640a0b6
......@@ -385,7 +385,7 @@ fallback:
if (allow_symlink)
r = stat(t, &a);
else
r = lstat(t, &b);
r = lstat(t, &a);
if (r < 0)
return -errno;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment