it's called getgrgid_r, not getgruid_r...
authorRich Felker <dalias@aerifal.cx>
Wed, 8 Jun 2011 20:47:08 +0000 (16:47 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 8 Jun 2011 20:47:08 +0000 (16:47 -0400)
src/passwd/getgr_r.c

index 5b1333e3b14f9c347dc36d1985d1c32c7c71bc6e..33e35d3a23824171c2c6e00a2424882ba337fbd7 100644 (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);
 }
 
-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);
 }