summaryrefslogtreecommitdiff
path: root/source4/web_server/ejs/ejsProcs.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-27 14:07:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:07 -0500
commit38c2164f68514727140270821c569a106b705997 (patch)
tree5e5bf7247013a29cf611acf2aa31cf08644cf3fb /source4/web_server/ejs/ejsProcs.c
parentaba7014e41b120e8c4bac5d5dab91655b46a2175 (diff)
downloadsamba-38c2164f68514727140270821c569a106b705997.tar.gz
samba-38c2164f68514727140270821c569a106b705997.tar.bz2
samba-38c2164f68514727140270821c569a106b705997.zip
r7023: reduced the number of warnings in building ejs and esp
(This used to be commit ef998f9f8fb9759e5a4572acb3f9038efc019e5e)
Diffstat (limited to 'source4/web_server/ejs/ejsProcs.c')
-rw-r--r--source4/web_server/ejs/ejsProcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/web_server/ejs/ejsProcs.c b/source4/web_server/ejs/ejsProcs.c
index 3b5689b0bd..163835ed6e 100644
--- a/source4/web_server/ejs/ejsProcs.c
+++ b/source4/web_server/ejs/ejsProcs.c
@@ -544,10 +544,10 @@ static int printlnProc(EjsHandle eid, int argc, MprVar **argv)
static int traceProc(EjsHandle eid, int argc, char **argv)
{
if (argc == 1) {
- mprLog(0, argv[0]);
+ mprLog(0, "%s", argv[0]);
} else if (argc == 2) {
- mprLog(atoi(argv[0]), argv[1]);
+ mprLog(atoi(argv[0]), "%s", argv[1]);
} else {
ejsSetErrorMsg(eid, "Usage: trace([level], message)");