chiark / gitweb /
Prep v239: Add missing updates that evaded migration.
[elogind.git] / src / basic / cgroup-util.c
index 1994104e6fb2d4bae5b4c469e3470315a80dc017..dd2f3e86621f6f8ec4040b09a8fd5246613410e3 100644 (file)
@@ -1807,7 +1807,7 @@ int cg_path_get_owner_uid(const char *path, uid_t *uid) {
 #else
         p = strappend("/run/systemd/sessions/", slice);
 
-        r = parse_env_file(p, NEWLINE, "UID", &s, NULL);
+        r = parse_env_file(NULL, p, NEWLINE, "UID", &s, NULL);
         if (r == -ENOENT)
                 return -ENXIO;
         if (r < 0)