From 79dbd981958144758afdb8b1feaa871a32a36c3d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 17 Dec 2001 05:52:18 +0000 Subject: * nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal. * grp/initgroups.c (internal_getgrouplist): Likewise. --- grp/initgroups.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grp') 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); -- cgit v1.2.3