diff options
author | Roland McGrath <roland@gnu.org> | 2001-12-17 05:52:18 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-12-17 05:52:18 +0000 |
commit | 79dbd981958144758afdb8b1feaa871a32a36c3d (patch) | |
tree | d9e97ee8c24dc474df875642230d6a23595c50d1 /grp | |
parent | ca18306b75e87b4ee356a6b47a3695c6b23f48e9 (diff) |
* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
* grp/initgroups.c (internal_getgrouplist): Likewise.
Diffstat (limited to 'grp')
-rw-r--r-- | grp/initgroups.c | 4 |
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); |