Whoops, that should be vfprintf(), not fprintf(). :)

This commit is contained in:
Ryan C. Gordon
2010-01-13 16:58:24 +00:00
parent adbfb16246
commit f48b26ea6a

View File

@@ -85,7 +85,7 @@ debug_print(const char *fmt, ...)
/* Unix has it easy. Just dump it to stderr. */
va_list ap;
va_start(ap, fmt);
fprintf(stderr, fmt, ap);
vfprintf(stderr, fmt, ap);
va_end(ap);
fflush(stderr);
#endif