summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormueller <mueller@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2007-03-27 20:08:39 +0000
committermueller <mueller@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2007-03-27 20:08:39 +0000
commit0ad7b0d2758caaf7058e760a8e70e801c7e68401 (patch)
tree4b7919387461c89f0c652ae137034362fba70577
parent504a4fbae7d7145f9935ac56050106e1d9123f4e (diff)
downloadlibvncserver-0ad7b0d2758caaf7058e760a8e70e801c7e68401.zip
libvncserver-0ad7b0d2758caaf7058e760a8e70e801c7e68401.tar.gz
fix format string warning
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork/krfb/libvncserver@647260 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 e82b542..f05a3f9 100644
--- a/main.c
+++ b/main.c
@@ -74,7 +74,7 @@ rfbLog(const char *format, ...)
time(&log_clock);
strftime(buf, 255, "%d/%m/%Y %T ", localtime(&log_clock));
- fprintf(stderr,buf);
+ fprintf(stderr,"%s", buf);
vfprintf(stderr, format, args);
fflush(stderr);
OpenPOWER on IntegriCloud