summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-20 16:50:14 +0200
committerVolker Lendecke <vl@samba.org>2009-04-20 16:51:44 +0200
commite3db09cf029f70473cb0b2a6d9e9fb8035a8b5f8 (patch)
treec730cf617bbc61e99cbb6fca5043a9a693fc5cad /source3
parent31120c9eacafd93e0f2c6b0f906af21adadd318a (diff)
downloadsamba-e3db09cf029f70473cb0b2a6d9e9fb8035a8b5f8.tar.gz
samba-e3db09cf029f70473cb0b2a6d9e9fb8035a8b5f8.tar.bz2
samba-e3db09cf029f70473cb0b2a6d9e9fb8035a8b5f8.zip
Do not vasprint stuff where not necessary
Diffstat (limited to 'source3')
-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 21b297af2d..d8c48058be 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, "%s", type);
+ talloc_set_name_const(data, type);
pol = create_policy_hnd_internal(p, hnd, data);
if (pol == NULL) {