summaryrefslogtreecommitdiff
path: root/grp/initgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'grp/initgroups.c')
-rw-r--r--grp/initgroups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/grp/initgroups.c b/grp/initgroups.c
index 1f349d09ad..b275bfae7a 100644
--- a/grp/initgroups.c
+++ b/grp/initgroups.c
@@ -176,7 +176,7 @@ internal_getgrouplist (const char *user, gid_t group, long int *size,
/* This is really only for debugging. */
if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
- __libc_fatal ("illegal status in " __FUNCTION__);
+ __libc_fatal ("illegal status in internal_getgrouplist");
if (status != NSS_STATUS_SUCCESS
&& nss_next_action (nip, status) == NSS_ACTION_RETURN)
@@ -214,7 +214,7 @@ getgrouplist (const char *user, gid_t group, gid_t *groups, int *ngroups)
}
else
*ngroups = result;
-
+
memcpy (groups, newgroups, *ngroups * sizeof (gid_t));
free (newgroups);