chiark / gitweb /
loginctl: fix typo causing ignoring multiple session IDs (#5732)
[elogind.git] / src / login / logind-user.c
index c1fd75a829e553add73bcd3e0185adb67447d4ca..b8abc6af0135b267ea433a58a048366875025b71 100644 (file)
@@ -347,7 +347,7 @@ static int user_mkdir_runtime_path(User *u) {
         if (r < 0)
                 return log_error_errno(r, "Failed to create /run/user: %m");
 
-        if (path_is_mount_point(u->runtime_path, 0) <= 0) {
+        if (path_is_mount_point(u->runtime_path, NULL, 0) <= 0) {
                 _cleanup_free_ char *t = NULL;
 
                 (void) mkdir_label(u->runtime_path, 0700);