diff options
Diffstat (limited to 'client_examples/gtkvncviewer.c')
-rw-r--r-- | client_examples/gtkvncviewer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client_examples/gtkvncviewer.c b/client_examples/gtkvncviewer.c index 261b2da..861e4e3 100644 --- a/client_examples/gtkvncviewer.c +++ b/client_examples/gtkvncviewer.c @@ -588,7 +588,7 @@ static void GtkDefaultLog (const char *format, ...) time (&log_clock); strftime (buf, 255, "%d/%m/%Y %X ", localtime (&log_clock)); - fprintf (stdout, buf); + fprintf (stdout, "%s", buf); vfprintf (stdout, format, args); fflush (stdout); |