chiark / gitweb /
path: fix invalid variable access in path_is_mount_point()
[elogind.git] / src / shared / path-util.c
index 2dddc8f..39f77f6 100644 (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;