summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/nss_wrapper/nss_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c
index ee65350208..42fc4cfb02 100644
--- a/lib/nss_wrapper/nss_wrapper.c
+++ b/lib/nss_wrapper/nss_wrapper.c
@@ -2172,7 +2172,7 @@ _PUBLIC_ int nwrap_getgrouplist(const char *user, gid_t group, gid_t *groups, in
struct group *grp;
gid_t *groups_tmp;
int count = 1;
- const char *name_of_group = NULL;
+ const char *name_of_group = "";
if (!nwrap_enabled()) {
return real_getgrouplist(user, group, groups, ngroups);