summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Falavigna <dktrkranz@debian.org>2012-05-07 21:23:03 +0200
committerChristian Beier <dontmind@freeshell.org>2012-05-07 21:23:03 +0200
commita6fedf258aa00ab1850818fe65e7ee034196a7bb (patch)
treed9743b6bf16d2fc660325cfe7adf803a5d111cc8
parent62cfb3bbda6ddd9578c0e59044fb2f8bdc7bcdfa (diff)
downloadlibtdevnc-a6fedf258aa00ab1850818fe65e7ee034196a7bb.tar.gz
libtdevnc-a6fedf258aa00ab1850818fe65e7ee034196a7bb.zip
Encodingstest: Use format string argument with fprintf.
-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);