summaryrefslogtreecommitdiff
path: root/src/responder/nss/nsssrv_netgroup.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-04-03 18:42:43 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-18 10:23:55 -0400
commitbd09ead65cded3207cf228c44a31bbc87c2979bd (patch)
tree91d7abf452011afdbef9c42a3eb7d59fa8768a83 /src/responder/nss/nsssrv_netgroup.c
parent7329723a5d8ce46f146e78dabfad5c94b3eed505 (diff)
downloadsssd-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.c3
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) {