[systemd-commits] src/shared

Lennart Poettering lennart at kemper.freedesktop.org
Tue Sep 4 18:44:27 PDT 2012


 src/shared/path-util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f408b8f1bbf79aa566e3f2162f44e7c9c67c0396
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Sep 4 17:05:23 2012 -0700

    path: fix invalid variable access in path_is_mount_point()

diff --git a/src/shared/path-util.c b/src/shared/path-util.c
index 2dddc8f..39f77f6 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;



More information about the systemd-commits mailing list