From f408b8f1bbf79aa566e3f2162f44e7c9c67c0396 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 4 Sep 2012 17:05:23 -0700 Subject: [PATCH 1/1] path: fix invalid variable access in path_is_mount_point() --- src/shared/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/path-util.c b/src/shared/path-util.c index 2dddc8f2f..39f77f645 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; -- 2.30.2