Fix bug I introduced.

This commit is contained in:
mycroft 1993-04-19 10:27:26 +00:00
parent fdafc8ab98
commit 3bb49b3e9c
2 changed files with 8 additions and 8 deletions

View File

@ -376,9 +376,9 @@ static int Newpos = 0;
/* VARARGS1 */
msg(fmt,ap)
char *fmt;
_VA_LIST_ ap;
va_list ap;
{
(void)vsprintf(&Msgbuf[Newpos], fmt, ap);
(void)vsprintf(&Msgbuf[Newpos], fmt, &ap);
endmsg();
}
@ -389,9 +389,9 @@ msg(fmt,ap)
/* VARARGS1 */
addmsg(fmt,ap)
char *fmt;
_VA_LIST_ ap;
va_list ap;
{
(void)vsprintf(&Msgbuf[Newpos], fmt, ap);
(void)vsprintf(&Msgbuf[Newpos], fmt, &ap);
}
/*

View File

@ -389,21 +389,21 @@ pch(c)
apr(ps, fmt, ap)
struct point *ps;
char *fmt;
_VA_LIST_ ap;
va_list ap;
{
struct point p;
p.line = ps->line+1; p.col = ps->col+1;
move(&p);
(void)vsprintf(str, fmt, ap);
(void)vsprintf(str, fmt, &ap);
pstring(str);
}
pr(fmt, ap)
char *fmt;
_VA_LIST_ ap;
va_list ap;
{
(void)vsprintf(str, fmt, ap);
(void)vsprintf(str, fmt, &ap);
pstring(str);
}