Fix another bogon in log()
authorJeremy Kerr <jk@ozlabs.org>
Thu, 5 Apr 2007 12:12:23 +0000 (22:12 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 5 Apr 2007 12:12:23 +0000 (22:12 +1000)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
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);
        va_list ap;
 
        va_start(ap, fmt);
-       fprintf(logf, fmt, ap);
+       vfprintf(logf, fmt, ap);
        va_end(ap);
 }
 
        va_end(ap);
 }