]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nsresourced: correct argument comments
authorJelle van der Waa <jvanderwaa@redhat.com>
Tue, 3 Jun 2025 12:07:21 +0000 (14:07 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Wed, 4 Jun 2025 08:52:59 +0000 (10:52 +0200)
src/nsresourced/nsresourcework.c

index ebace9e22f5150bf1ebcab0e81b474a70573b1ca..f1c48a1e810d6f96b1625b4267691e4c144157cf 100644 (file)
@@ -1248,7 +1248,7 @@ static int vl_method_add_mount_to_user_namespace(sd_varlink *link, sd_json_varia
                         link,
                         /* bus= */ NULL,
                         "io.systemd.namespace-resource.delegate-mount",
-                        /* polkit_details= */ NULL,
+                        /* details= */ NULL,
                         /* good_user= */ UID_INVALID,
                         POLKIT_DEFAULT_ALLOW, /* If no polkit is installed, allow delegation of mounts to registered userns */
                         &c->polkit_registry);
@@ -1401,7 +1401,7 @@ static int vl_method_add_cgroup_to_user_namespace(sd_varlink *link, sd_json_vari
                         link,
                         /* bus= */ NULL,
                         "io.systemd.namespace-resource.delegate-cgroup",
-                        /* polkit_details= */ NULL,
+                        /* details= */ NULL,
                         /* good_user= */ UID_INVALID,
                         POLKIT_DEFAULT_ALLOW, /* If no polkit is installed, allow delegation of cgroups to registered userns */
                         &c->polkit_registry);