$NetBSD: patch-ai,v 1.1 2004/01/23 11:43:33 agc Exp $ --- extflat/EFread.c 2004/01/23 09:58:12 1.1 +++ extflat/EFread.c 2004/01/23 09:59:29 @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include "misc/magic.h" #include "utils/geometry.h" #include "utils/hash.h" @@ -534,14 +534,12 @@ */ /*VARARGS1*/ -efReadError(fmt, va_alist) - char *fmt; - va_dcl +efReadError(char *fmt, ...) { va_list args; (void) printf("%s, line %d: ", efReadFileName, efReadLineNum); - va_start(args); + va_start(args, fmt); vfprintf(stdout, fmt, args); va_end(args); (void) fflush(stdout);