git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
399c765
)
Fix warning in use of talloc_set_name.
author
Jeremy Allison
<jra@samba.org>
Mon, 20 Apr 2009 11:05:12 +0000
(
04:05
-0700)
committer
Jeremy Allison
<jra@samba.org>
Mon, 20 Apr 2009 11:05:12 +0000
(
04:05
-0700)
Jeremy.
source3/rpc_server/srv_lsa_hnd.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_lsa_hnd.c
b/source3/rpc_server/srv_lsa_hnd.c
index 2490ca30db568c564b8288c902b16506a097b514..21b297af2dabf462905cbd790eb073851321b876 100644
(file)
--- a/
source3/rpc_server/srv_lsa_hnd.c
+++ b/
source3/rpc_server/srv_lsa_hnd.c
@@
-337,7
+337,7
@@
void *_policy_handle_create(struct pipes_struct *p, struct policy_handle *hnd,
*pstatus = NT_STATUS_NO_MEMORY;
return NULL;
}
- talloc_set_name(data, type);
+ talloc_set_name(data,
"%s",
type);
pol = create_policy_hnd_internal(p, hnd, data);
if (pol == NULL) {