From: Rich Felker Date: Wed, 8 Jun 2011 20:47:08 +0000 (-0400) Subject: it's called getgrgid_r, not getgruid_r... X-Git-Tag: v0.7.11~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c19a6be5a18d51a157cf91bf3909f71fa277e588;p=oweals%2Fmusl.git it's called getgrgid_r, not getgruid_r... --- diff --git a/src/passwd/getgr_r.c b/src/passwd/getgr_r.c index 5b1333e3..33e35d3a 100644 --- a/src/passwd/getgr_r.c +++ b/src/passwd/getgr_r.c @@ -47,7 +47,7 @@ int getgrnam_r(const char *name, struct group *gr, char *buf, size_t size, struc return getgr_r(name, 0, gr, buf, size, res); } -int getgruid_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) +int getgrgid_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) { return getgr_r(0, gid, gr, buf, size, res); }