summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/encodingstest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encodingstest.c b/test/encodingstest.c
index e79f7e7..c6c8255 100644
--- a/test/encodingstest.c
+++ b/test/encodingstest.c
@@ -256,7 +256,7 @@ rfbTestLog(const char *format, ...)
time(&log_clock);
strftime(buf, 255, "%d/%m/%Y %X (client) ", localtime(&log_clock));
- fprintf(stderr,buf);
+ fprintf(stderr,"%s",buf);
vfprintf(stderr, format, args);
fflush(stderr);