diff options
author | Jeremy Allison <jra@samba.org> | 2008-05-30 17:52:05 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-05-31 09:44:49 +0200 |
commit | 06ae8c271a98462297d57aba44194cae154e8994 (patch) | |
tree | f25ae8be534720798656dfc13c87ebfef81db709 /source/winbindd | |
parent | f71fa2ca03abd198808abca376bdbea668640aa1 (diff) | |
download | samba-06ae8c271a98462297d57aba44194cae154e8994.tar.gz samba-06ae8c271a98462297d57aba44194cae154e8994.tar.xz samba-06ae8c271a98462297d57aba44194cae154e8994.zip |
Fix valgrind bug in debug statement. Don't reference uninitialized memory.
Jeremy.
(cherry picked from commit 0aded23c4f6fc726896f5b5955e913ca559e7713)
Diffstat (limited to 'source/winbindd')
-rw-r--r-- | source/winbindd/idmap_util.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/winbindd/idmap_util.c b/source/winbindd/idmap_util.c index bf06cd84726..0d24070dd67 100644 --- a/source/winbindd/idmap_util.c +++ b/source/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; } |