1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

path: fix invalid variable access in path_is_mount_point()

This commit is contained in:
Lennart Poettering 2012-09-04 17:05:23 -07:00
parent 1640a0b6b0
commit f408b8f1bb

View File

@ -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;