summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-25 08:58:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:22 -0500
commit275efb936fdd2e69b5b64e9ddeec66cbeb46f227 (patch)
treee11cda1a2df7b75e341b8075aa0d5cb38a82b391 /source4/rpc_server
parente5c4c4b108370277458992a8f6d156317163fbb9 (diff)
downloadsamba-275efb936fdd2e69b5b64e9ddeec66cbeb46f227.tar.gz
samba-275efb936fdd2e69b5b64e9ddeec66cbeb46f227.tar.bz2
samba-275efb936fdd2e69b5b64e9ddeec66cbeb46f227.zip
r2059: abartlet: is there a better way to fix this compiler warning
(the same problem as in -r 2056) metze (This used to be commit 98e4b23d450892e1ff37c36e52aa56bdf5f260b9)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/samr/samdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/samdb.c b/source4/rpc_server/samr/samdb.c
index d23118f1f0..0d4443958a 100644
--- a/source4/rpc_server/samr/samdb.c
+++ b/source4/rpc_server/samr/samdb.c
@@ -602,7 +602,7 @@ int samdb_copy_template(void *ctx, TALLOC_CTX *mem_ctx,
/* pull the template record */
- ret = samdb_search(ctx, mem_ctx, NULL, &res, NULL, expression);
+ ret = samdb_search(ctx, mem_ctx, NULL, &res, NULL, "%s", expression);
if (ret != 1) {
DEBUG(1,("samdb: ERROR: template '%s' matched %d records\n",
expression, ret));