diff options
author | runge <runge@karlrunge.com> | 2009-10-07 16:35:38 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2009-10-07 16:35:38 -0400 |
commit | 169ef3a0429b3e21720856024076e1941221e987 (patch) | |
tree | 5b2e07ecc724c4f40efe76b3f94aa1bfcfdaa4ee /libvncclient | |
parent | 0142acddedb0b07cd5fbd8d9e8628d1ab3067d6a (diff) | |
download | libtdevnc-169ef3a0429b3e21720856024076e1941221e987.tar.gz libtdevnc-169ef3a0429b3e21720856024076e1941221e987.zip |
Some broken build environments treat fprintf(fh, buf) as a fatal error...
Diffstat (limited to 'libvncclient')
-rw-r--r-- | libvncclient/rfbproto.c | 2 |
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); |