diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-04 17:05:23 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-04 17:05:23 -0700 |
commit | f408b8f1bbf79aa566e3f2162f44e7c9c67c0396 (patch) | |
tree | 4e29ac3874bac2c3d87d66489380c3b70044fa76 /src/shared/path-util.c | |
parent | 1640a0b6b05b8ae01abbe5939f86f17a61e7998f (diff) |
path: fix invalid variable access in path_is_mount_point()
Diffstat (limited to 'src/shared/path-util.c')
-rw-r--r-- | src/shared/path-util.c | 2 |
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; |