Fix bogon in parser test
authorJeremy Kerr <jk@ozlabs.org>
Thu, 5 Apr 2007 09:06:26 +0000 (19:06 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 5 Apr 2007 09:06:26 +0000 (19:06 +1000)
fprintf isn't vfprintf.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
devices/parser-test.c

index 9b106b6b2cdf43a2119a63bbf72ee246b96a2d62..4b134d0e5bd4eba470322a83eaa6c3f94c5a2b81 100644 (file)
@@ -11,7 +11,7 @@ void pb_log(const char *fmt, ...)
        va_list ap;
 
        va_start(ap, fmt);
        va_list ap;
 
        va_start(ap, fmt);
-       fprintf(stderr, fmt, ap);
+       vfprintf(stderr, fmt, ap);
        va_end(ap);
 }
 
        va_end(ap);
 }