summaryrefslogtreecommitdiffstats
path: root/libvncclient
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2009-10-07 16:35:38 -0400
committerrunge <runge@karlrunge.com>2009-10-07 16:35:38 -0400
commit169ef3a0429b3e21720856024076e1941221e987 (patch)
tree5b2e07ecc724c4f40efe76b3f94aa1bfcfdaa4ee /libvncclient
parent0142acddedb0b07cd5fbd8d9e8628d1ab3067d6a (diff)
downloadlibvncserver-169ef3a0429b3e21720856024076e1941221e987.zip
libvncserver-169ef3a0429b3e21720856024076e1941221e987.tar.gz
Some broken build environments treat fprintf(fh, buf) as a fatal error...
Diffstat (limited to 'libvncclient')
-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);
OpenPOWER on IntegriCloud