summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-04-20 04:05:12 -0700
committerJeremy Allison <jra@samba.org>2009-04-20 04:05:12 -0700
commit86b0d56897435c1a95c17d32a914b9757358d358 (patch)
treebb4c74eb5953b773fab3c54be808d5b07ae4fbab /source3/rpc_server
parent399c765538d91c696efd1496fffd9ae1e876f3ae (diff)
downloadsamba-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.c2
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) {