summaryrefslogtreecommitdiffstats
path: root/src/trace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace.cpp')
-rw-r--r--src/trace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace.cpp b/src/trace.cpp
index effcd64..9f2d06d 100644
--- a/src/trace.cpp
+++ b/src/trace.cpp
@@ -11,7 +11,7 @@ void TRACER(TQtMsgType, const char *msg)
tracer->append(&msg[*msg == '~' ? 1 : 0]);
if (msg[0] != '~')
{
- fprintf(stderr, msg);
+ fprintf(stderr, "%s", msg);
fprintf(stderr, "\r\n");
}
}