From: Volker Lendecke Date: Mon, 20 Apr 2009 14:50:14 +0000 (+0200) Subject: Do not vasprint stuff where not necessary X-Git-Tag: tdb-1.1.5~956^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3db09cf029f70473cb0b2a6d9e9fb8035a8b5f8;p=thirdparty%2Fsamba.git Do not vasprint stuff where not necessary --- diff --git a/source3/rpc_server/srv_lsa_hnd.c b/source3/rpc_server/srv_lsa_hnd.c index 21b297af2da..d8c48058be9 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) {