X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=devices%2Fudev-helper.c;h=4ec054b38411ad8e053a2f3171de89dc2e865e84;hp=fdb128eaab28d9596f4ff9943925c5a789003d55;hb=c53617ef4337b76b623994404e495e21275f6ce5;hpb=bdb389592338a2f69af98d763a39c617374c1233 diff --git a/devices/udev-helper.c b/devices/udev-helper.c index fdb128e..4ec054b 100644 --- a/devices/udev-helper.c +++ b/devices/udev-helper.c @@ -33,7 +33,7 @@ void pb_log(const char *fmt, ...) va_list ap; va_start(ap, fmt); - fprintf(logf, fmt, ap); + vfprintf(logf, fmt, ap); va_end(ap); }