This commit is contained in:
Wolfgang Hottgenroth 2020-09-03 16:07:09 +02:00
parent 76db8066b9
commit ff515e202a
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -40,7 +40,7 @@ void msleep(uint32_t t) {
}
void infolog(const char *format, va_list ap) {
void infolog(const char *format, ...) {
va_start(ap, format);
if (verbose) {
vfprintf(stderr, format, ap);
@ -48,7 +48,7 @@ void infolog(const char *format, va_list ap) {
va_end(ap);
}
void errlog(const char *format, va_list ap) {
void errlog(const char *format, ...) {
va_start(ap, format);
vfprintf(stderr, format, ap);
va_end(ap);