summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2009-10-07 16:33:46 -0400
committerrunge <runge@karlrunge.com>2009-10-07 16:33:46 -0400
commit0142acddedb0b07cd5fbd8d9e8628d1ab3067d6a (patch)
tree7b99863975fd9b4f1cce7898c6bf65beab26fd3a /libvncserver
parenta92f7f46a675a3533a0a89b6fe2d509e43a2aa8f (diff)
downloadlibtdevnc-0142acddedb0b07cd5fbd8d9e8628d1ab3067d6a.tar.gz
libtdevnc-0142acddedb0b07cd5fbd8d9e8628d1ab3067d6a.zip
Some broken build environments treat fprintf(fh, buf) as a fatal error...
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c
index 1c9a4e7..b6bd930 100644
--- a/libvncserver/main.c
+++ b/libvncserver/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);