summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-01-28 02:04:41 +0000
committerRyan Bloom <rbb@apache.org>2001-01-28 02:04:41 +0000
commit502f6f04e7e5a10ed728741d09eda53fc2fcbaf3 (patch)
tree6977f0a2d9fab2d2d56210739508a25104d226eb /user
parent9259d39a07ec5b7473d87e825809a7dbba58709a (diff)
downloadapr-502f6f04e7e5a10ed728741d09eda53fc2fcbaf3.tar.gz
Get Unix building again.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61141 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'user')
-rw-r--r--user/unix/groupinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/unix/groupinfo.c b/user/unix/groupinfo.c
index fdf8532c0..47d16fe4d 100644
--- a/user/unix/groupinfo.c
+++ b/user/unix/groupinfo.c
@@ -72,7 +72,7 @@ APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, apr_gid_t groupid,
if (getgrgid_r(groupid, &grp, grbuf, sizeof(grbuf), &gr)) {
#else
- if ((gr = getgrgid(userid)) == NULL) {
+ if ((gr = getgrgid(groupid)) == NULL) {
#endif
return errno;
}