$NetBSD: patch-bb,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $ --- yatd/message.c.orig Fri Jun 8 16:29:24 2001 +++ yatd/message.c @@ -9,10 +9,10 @@ */ #ifdef STDC_HEADERS -int Msg2Cli(int stat, CONST char * pFmt, ...) +int Msg2Cli(int status, CONST char * pFmt, ...) #else -int Msg2Cli(stat, pFmt, va_alist) - int stat; +int Msg2Cli(status, pFmt, va_alist) + int status; CONST char * pFmt; va_dcl #endif @@ -33,7 +33,7 @@ if (feof(stdout) || ferror(stdout)) SysData.Flags.errCliIO = 1; - strcpy(szMsg, stat==SUCCESS ? ANS_POSITIVE : ANS_NEGATIVE); + strcpy(szMsg, status==SUCCESS ? ANS_POSITIVE : ANS_NEGATIVE); p = index(szMsg, '\0'); *p++ = ' '; *p = '\0'; @@ -89,7 +89,7 @@ else LogNOTICE("<<>> %.512s", szMsg); va_end(ap); - return stat; + return status; } /*