it's called getgrgid_r, not getgruid_r...

This commit is contained in:
Rich Felker 2011-06-08 16:47:08 -04:00
parent ecc0f5138d
commit c19a6be5a1
1 changed files with 1 additions and 1 deletions

View File

@ -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); 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); return getgr_r(0, gid, gr, buf, size, res);
} }