mirror of
https://github.com/KDE/krfb
synced 2026-07-01 15:51:18 -07:00
fix format string warning
svn path=/trunk/KDE/kdenetwork/krfb/; revision=647260
This commit is contained in:
@@ -74,7 +74,7 @@ rfbLog(const char *format, ...)
|
||||
|
||||
time(&log_clock);
|
||||
strftime(buf, 255, "%d/%m/%Y %T ", localtime(&log_clock));
|
||||
fprintf(stderr,buf);
|
||||
fprintf(stderr,"%s", buf);
|
||||
|
||||
vfprintf(stderr, format, args);
|
||||
fflush(stderr);
|
||||
|
||||
Reference in New Issue
Block a user