log: eliminate fortified build warning

cute-signatures
Timo Teras 2009-01-06 19:44:33 +02:00
parent 64b630b5fb
commit 354b6e4631
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ void apk_log(const char *prefix, const char *format, ...)
va_list va;
if (prefix != NULL)
fprintf(stderr, prefix);
fprintf(stderr, "%s", prefix);
va_start(va, format);
vfprintf(stderr, format, va);
va_end(va);