From 6da45b05106ee89e5b935d4efb1909f525b25986 Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 19 Apr 1993 10:27:26 +0000 Subject: Fix bug I introduced. --- snake/snake/move.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'snake') diff --git a/snake/snake/move.c b/snake/snake/move.c index 95f4f3fd..cbfeaa3c 100644 --- a/snake/snake/move.c +++ b/snake/snake/move.c @@ -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); } -- cgit v1.2.3-56-ge451