diff options
author | Jeremy Allison <jra@samba.org> | 2008-05-30 17:53:16 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-05-30 17:53:16 -0700 |
commit | 4408fdaf29c2e3ddb240aca2f70316d875f68c35 (patch) | |
tree | 297b4d14efe7de5fb11d4018ace2d30bdaf83535 /source3 | |
parent | 908812e98d84bd3eded612cd6f40637997a966ff (diff) | |
download | samba-4408fdaf29c2e3ddb240aca2f70316d875f68c35.tar.gz samba-4408fdaf29c2e3ddb240aca2f70316d875f68c35.tar.bz2 samba-4408fdaf29c2e3ddb240aca2f70316d875f68c35.zip |
Fix valgrind bug in debug statement. Don't reference uninitialized memory.
Jeremy.
(This used to be commit 25e76a19f22cdf726928d6c4b165745de9e455d6)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/idmap_util.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |