From 169ef3a0429b3e21720856024076e1941221e987 Mon Sep 17 00:00:00 2001 From: runge Date: Wed, 7 Oct 2009 16:35:38 -0400 Subject: Some broken build environments treat fprintf(fh, buf) as a fatal error... --- libvncclient/rfbproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvncclient') 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); -- cgit v1.2.1