$NetBSD: patch-as,v 1.1 2004/01/12 11:19:58 seb Exp $ --- src/dev_rs274x.c.orig 1998-05-13 10:29:43.000000000 +0000 +++ src/dev_rs274x.c @@ -51,7 +51,7 @@ #include #include #include -#include +#include #include "global.h" @@ -218,10 +218,7 @@ /*----------------------------------------------------------------------------*/ /* Error Logging Routines */ /*----------------------------------------------------------------------------*/ -static void logError(fp, format, va_alist) - FILE *fp; - char *format; - va_dcl +static void logError(FILE* fp, char * format, ...) { va_list args; char s[1024]; @@ -229,7 +226,7 @@ static void logError(fp, format, va_alis /* FIXME: Is it legitimate to use Message() from within a driver? */ - va_start(args); + va_start(args, format); vsprintf(s, format, args); fputs(s, fp); /*