Fix valgrind bug in debug statement. Don't reference uninitialized memory.
authorJeremy Allison <jra@samba.org>
Sat, 31 May 2008 00:37:34 +0000 (17:37 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 31 May 2008 00:37:34 +0000 (17:37 -0700)
Jeremy.

source/nsswitch/idmap_util.c

index 40a5fb854bef275bd95985fb818d3ad771e3b115..74750ca212547f450330f94499fc9fea09ce39b2 100644 (file)
@@ -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;
        }