From 38c2164f68514727140270821c569a106b705997 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 27 May 2005 14:07:29 +0000 Subject: r7023: reduced the number of warnings in building ejs and esp (This used to be commit ef998f9f8fb9759e5a4572acb3f9038efc019e5e) --- source4/web_server/ejs/ejsProcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/web_server/ejs/ejsProcs.c') 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)"); -- cgit