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