]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nsresourcework: correct argument comments for inode_same_at
authorJelle van der Waa <jvanderwaa@redhat.com>
Wed, 4 Jun 2025 13:39:17 +0000 (15:39 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Wed, 4 Jun 2025 13:39:17 +0000 (15:39 +0200)
src/nsresourced/nsresourcework.c

index 11a6df41168adca9615916aa91392f065c205d74..3977e77fd292bca93fd03f083f767ca7665cd9b7 100644 (file)
@@ -1683,7 +1683,7 @@ static int validate_netns(sd_varlink *link, int userns_fd, int netns_fd) {
         if (owner_userns_fd < 0)
                 return -errno;
 
-        r = inode_same_at(owner_userns_fd, /* path_a= */ NULL, userns_fd, /* path_b= */ NULL, AT_EMPTY_PATH);
+        r = inode_same_at(owner_userns_fd, /* filea= */ NULL, userns_fd, /* fileb= */ NULL, AT_EMPTY_PATH);
         if (r < 0)
                 return r;
         if (r == 0)