diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-06-08 16:47:08 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-06-08 16:47:08 -0400 |
commit | c19a6be5a18d51a157cf91bf3909f71fa277e588 (patch) | |
tree | 1447ebae370abe14b24c88dedc2297394a4bab14 /src/passwd | |
parent | ecc0f5138dd784eadea66f5b244515a98b381d39 (diff) | |
download | musl-c19a6be5a18d51a157cf91bf3909f71fa277e588.tar.gz musl-c19a6be5a18d51a157cf91bf3909f71fa277e588.tar.bz2 musl-c19a6be5a18d51a157cf91bf3909f71fa277e588.tar.xz musl-c19a6be5a18d51a157cf91bf3909f71fa277e588.zip |
it's called getgrgid_r, not getgruid_r...
Diffstat (limited to 'src/passwd')
-rw-r--r-- | src/passwd/getgr_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |