summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-04 17:05:23 -0700
committerLennart Poettering <lennart@poettering.net>2012-09-04 17:05:23 -0700
commitf408b8f1bbf79aa566e3f2162f44e7c9c67c0396 (patch)
tree4e29ac3874bac2c3d87d66489380c3b70044fa76 /src
parent1640a0b6b05b8ae01abbe5939f86f17a61e7998f (diff)
path: fix invalid variable access in path_is_mount_point()
Diffstat (limited to 'src')
-rw-r--r--src/shared/path-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/path-util.c b/src/shared/path-util.c
index 2dddc8f2f6..39f77f6454 100644
--- a/src/shared/path-util.c
+++ b/src/shared/path-util.c
@@ -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;