summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvncclient/rfbproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index 9d180ce..21e5088 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -74,7 +74,7 @@ rfbDefaultClientLog(const char *format, ...)
time(&log_clock);
strftime(buf, 255, "%d/%m/%Y %X ", localtime(&log_clock));
- fprintf(stderr,buf);
+ fprintf(stderr, "%s", buf);
vfprintf(stderr, format, args);
fflush(stderr);