summaryrefslogtreecommitdiff
path: root/source4/web_server/ejs/ejsProcs.c
diff options
context:
space:
mode:
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)");