From 4408fdaf29c2e3ddb240aca2f70316d875f68c35 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 30 May 2008 17:53:16 -0700 Subject: Fix valgrind bug in debug statement. Don't reference uninitialized memory. Jeremy. (This used to be commit 25e76a19f22cdf726928d6c4b165745de9e455d6) --- source3/winbindd/idmap_util.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/idmap_util.c b/source3/winbindd/idmap_util.c index bf06cd8472..0d24070dd6 100644 --- a/source3/winbindd/idmap_util.c +++ b/source3/winbindd/idmap_util.c @@ -157,11 +157,10 @@ NTSTATUS idmap_sid_to_gid(DOM_SID *sid, gid_t *gid) } if ((map.status != ID_MAPPED) || (map.xid.type != ID_TYPE_GID)) { - DEBUG(10, ("sid [%s] not mapped to a gid [%u,%u,%u]\n", + DEBUG(10, ("sid [%s] not mapped to a gid [%u,%u]\n", sid_string_dbg(sid), map.status, - map.xid.type, - map.xid.id)); + map.xid.type)); return NT_STATUS_NONE_MAPPED; } -- cgit