diff options
author | mycroft <mycroft@NetBSD.org> | 1993-04-19 10:27:26 +0000 |
---|---|---|
committer | mycroft <mycroft@NetBSD.org> | 1993-04-19 10:27:26 +0000 |
commit | 6da45b05106ee89e5b935d4efb1909f525b25986 (patch) | |
tree | 713043b8039f7817cfd64da2638a2727beb8948b /cribbage/io.c | |
parent | 225aeae6d8220143cb24ffcbe7c1ca2941643670 (diff) | |
download | bsdgames-darwin-6da45b05106ee89e5b935d4efb1909f525b25986.tar.gz bsdgames-darwin-6da45b05106ee89e5b935d4efb1909f525b25986.tar.zst bsdgames-darwin-6da45b05106ee89e5b935d4efb1909f525b25986.zip |
Fix bug I introduced.
Diffstat (limited to 'cribbage/io.c')
-rw-r--r-- | cribbage/io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cribbage/io.c b/cribbage/io.c index 0d795168..244ac702 100644 --- a/cribbage/io.c +++ b/cribbage/io.c @@ -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); } /* |