git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d740f5c
)
Fix valgrind bug in debug statement. Don't reference uninitialized memory.
author
Jeremy Allison
<jra@samba.org>
Sat, 31 May 2008 00:37:34 +0000
(17:37 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sat, 31 May 2008 00:37:34 +0000
(17:37 -0700)
Jeremy.
source/nsswitch/idmap_util.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/idmap_util.c
b/source/nsswitch/idmap_util.c
index 40a5fb854bef275bd95985fb818d3ad771e3b115..74750ca212547f450330f94499fc9fea09ce39b2 100644
(file)
--- 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;
}