From 607f1dd549cf9abc87af1cf29275f0d2d11eea29 Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Fri, 19 Jun 2020 22:09:20 -0500 Subject: [PATCH] libsubid: fix a prototype in api.h Signed-off-by: Serge Hallyn --- libsubid/api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsubid/api.h b/libsubid/api.h index f65e3ec9..fbdf0f9e 100644 --- a/libsubid/api.h +++ b/libsubid/api.h @@ -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 */