about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/passwd/getgr_r.c2
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);
 }