diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-04-03 18:42:43 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-04-18 10:23:55 -0400 |
commit | bd09ead65cded3207cf228c44a31bbc87c2979bd (patch) | |
tree | 91d7abf452011afdbef9c42a3eb7d59fa8768a83 /src/responder/nss/nsssrv_netgroup.c | |
parent | 7329723a5d8ce46f146e78dabfad5c94b3eed505 (diff) | |
download | sssd-bd09ead65cded3207cf228c44a31bbc87c2979bd.tar.gz sssd-bd09ead65cded3207cf228c44a31bbc87c2979bd.tar.bz2 sssd-bd09ead65cded3207cf228c44a31bbc87c2979bd.zip |
Prevent printing NULL from DEBUG messages
Diffstat (limited to 'src/responder/nss/nsssrv_netgroup.c')
-rw-r--r-- | src/responder/nss/nsssrv_netgroup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_netgroup.c b/src/responder/nss/nsssrv_netgroup.c index 81c29bcc..c9fae826 100644 --- a/src/responder/nss/nsssrv_netgroup.c +++ b/src/responder/nss/nsssrv_netgroup.c @@ -507,7 +507,8 @@ static errno_t lookup_netgr_step(struct setent_step_ctx *step_ctx) } /* If we've gotten here, then no domain contained this netgroup */ - DEBUG(2, ("No matching domain found for [%s], fail!\n", name)); + DEBUG(SSSDBG_MINOR_FAILURE, + ("No matching domain found for [%s], fail!\n", step_ctx->name)); netgr = talloc_zero(step_ctx->nctx, struct getent_ctx); if (netgr == NULL) { |