]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
libsubid: fix a prototype in api.h
authorSerge Hallyn <shallyn@cisco.com>
Sat, 20 Jun 2020 03:09:20 +0000 (22:09 -0500)
committerSerge Hallyn <shallyn@cisco.com>
Sat, 20 Jun 2020 03:09:20 +0000 (22:09 -0500)
Signed-off-by: Serge Hallyn <shallyn@cisco.com>
libsubid/api.h

index f65e3ec952b35b415520924d95a63a98556ade31..fbdf0f9e80074961e9f5215aca0494bfd41d6362 100644 (file)
@@ -6,7 +6,7 @@ struct subordinate_range **get_subgid_ranges(const char *owner);
 void subid_free_ranges(struct subordinate_range **ranges);
 
 int get_subuid_owners(uid_t uid, uid_t **owner);
-int get_subgid_owners(uid_t uid, uid_t **owner);
+int get_subgid_owners(gid_t gid, uid_t **owner);
 
 /* range should be pre-allocated with owner and count filled in, start is
  * ignored, can be 0 */