summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-11-20 23:18:04 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-11-20 23:18:04 +0000
commit08abc5f04ebc1af9b68ade66ee92b42f48f72361 (patch)
treea4edbe660d81be7b2fe5a3a9ec3120e58f76fba2 /user
parent8dc8b415dceca3be1ae4b7e55a5838a29834766c (diff)
downloadlibapr-08abc5f04ebc1af9b68ade66ee92b42f48f72361.tar.gz
get the getgrnam_r() logic to compile; no promises on correctness :)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62529 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 bca6ac32b..0b575a627 100644
--- a/user/unix/groupinfo.c
+++ b/user/unix/groupinfo.c
@@ -95,7 +95,7 @@ APR_DECLARE(apr_status_t) apr_get_groupid(apr_gid_t *groupid, const char *groupn
struct group grp;
char grbuf[512];
- if (getgrnam_r(&grpname, &gr, grbuf, sizeof(grbuf))) {
+ if (getgrnam_r(groupname, &grp, grbuf, sizeof(grbuf), &gr)) {
#else
if ((gr = getgrnam(groupname)) == NULL) {
#endif