From 1856278572c7b78827ccb18a623389e57edd18c6 Mon Sep 17 00:00:00 2001 From: yamt Date: Sat, 20 Oct 2001 22:30:31 +0000 Subject: [PATCH] backout my miscommit. pointed by Aymeric Vincent. --- usr.bin/vi/common/msg.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/usr.bin/vi/common/msg.c b/usr.bin/vi/common/msg.c index e82e398c2127..d80f49ed580c 100644 --- a/usr.bin/vi/common/msg.c +++ b/usr.bin/vi/common/msg.c @@ -1,4 +1,4 @@ -/* $NetBSD: msg.c,v 1.7 2001/10/17 07:38:48 yamt Exp $ */ +/* $NetBSD: msg.c,v 1.8 2001/10/20 22:30:31 yamt Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -48,7 +48,7 @@ static const char sccsid[] = "@(#)msg.c 10.48 (Berkeley) 9/15/96"; */ void #ifdef __STDC__ -msgq(SCR *sp, mtype_t mt, const char *fmt0, ...) +msgq(SCR *sp, mtype_t mt, const char *fmt, ...) #else msgq(sp, mt, fmt, va_alist) SCR *sp; @@ -71,9 +71,6 @@ msgq(sp, mt, fmt, va_alist) const char *t, *u; char *rbp, *s_rbp; size_t cnt1, cnt2, soff; -#endif -#ifdef __STDC__ - const char *fmt = fmt0; #endif static int reenter; /* STATIC: Re-entrancy check. */ GS *gp; @@ -286,7 +283,7 @@ format: #endif /* Format the arguments into the string. */ #ifdef __STDC__ - va_start(ap, fmt0); + va_start(ap, fmt); #else va_start(ap); #endif