From afce2cd242b1cbfb9d7e837a9f6d3879112b72e3 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 30 May 2008 17:37:34 -0700 Subject: [PATCH] Fix valgrind bug in debug statement. Don't reference uninitialized memory. Jeremy. --- source/nsswitch/idmap_util.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/nsswitch/idmap_util.c b/source/nsswitch/idmap_util.c index 40a5fb854be..74750ca2125 100644 --- a/source/nsswitch/idmap_util.c +++ b/source/nsswitch/idmap_util.c @@ -158,11 +158,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 an gid [%u,%u,%u]\n", + DEBUG(10, ("sid [%s] not mapped to an gid [%u,%u]\n", sid_string_static(sid), map.status, - map.xid.type, - map.xid.id)); + map.xid.type)); return NT_STATUS_NONE_MAPPED; } -- 2.11.4.GIT