diff options
author | Jeremy Allison <jra@samba.org> | 2009-04-20 04:05:12 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-04-20 04:05:12 -0700 |
commit | 86b0d56897435c1a95c17d32a914b9757358d358 (patch) | |
tree | bb4c74eb5953b773fab3c54be808d5b07ae4fbab /source3/rpc_server | |
parent | 399c765538d91c696efd1496fffd9ae1e876f3ae (diff) | |
download | samba-86b0d56897435c1a95c17d32a914b9757358d358.tar.gz samba-86b0d56897435c1a95c17d32a914b9757358d358.tar.bz2 samba-86b0d56897435c1a95c17d32a914b9757358d358.zip |
Fix warning in use of talloc_set_name.
Jeremy.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_lsa_hnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_hnd.c b/source3/rpc_server/srv_lsa_hnd.c index 2490ca30db..21b297af2d 100644 --- 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) { |