summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormueller <mueller@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-12-01 22:14:18 +0000
committermueller <mueller@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-12-01 22:14:18 +0000
commit9d0ad6fd0a3e2ba748b7b81f5031d6170c8bc026 (patch)
treeb631a94a46787d7718f982e11e3cf69f92902057
parentaa59e7c6a3844ee2d2658cacf4dbdfc36d2656b0 (diff)
downloadlibvncserver-9d0ad6fd0a3e2ba748b7b81f5031d6170c8bc026.zip
libvncserver-9d0ad6fd0a3e2ba748b7b81f5031d6170c8bc026.tar.gz
fix format string escaping
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork/krfb/libvncserver@1202686 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index aaa5e6c..6a87703 100644
--- a/main.c
+++ b/main.c
@@ -242,7 +242,7 @@ rfbDefaultLog(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);
OpenPOWER on IntegriCloud