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 /snake | |
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 'snake')
-rw-r--r-- | snake/snake/move.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |