]> git.ozlabs.org Git - petitboot/blobdiff - devices/udev-helper.c
Fix another bogon in log()
[petitboot] / devices / udev-helper.c
index fdb128eaab28d9596f4ff9943925c5a789003d55..4ec054b38411ad8e053a2f3171de89dc2e865e84 100644 (file)
@@ -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);
 }