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

source/winbindd/idmap_util.c

index bf06cd84726e6e812e2177eb120beaa07cfc4e33..0d24070dd6747d62ae86c7915e1ee351ef295ed5 100644 (file)
@@ -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;
        }