From: sater Date: Fri, 17 Aug 1984 15:35:28 +0000 (+0000) Subject: Increased the amount of information passed through error routines X-Git-Tag: release-5-5~6120 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5689e6ab64e0f45496a75530c8d2ce49f8dee5da;p=ack.git Increased the amount of information passed through error routines to printf. The routine badassert, running on a 2/4 machine lost it's last argument on the way. Anyone know of a better way to solve this problem? --- diff --git a/mach/proto/cg/subr.c b/mach/proto/cg/subr.c index 90f0add97..d174e3f16 100644 --- a/mach/proto/cg/subr.c +++ b/mach/proto/cg/subr.c @@ -519,15 +519,15 @@ c3_p findcoerc(tp,tep) token_p tp; set_p tep; { } -error(s,a1,a2,a3,a4) char *s; { +error(s,a1,a2,a3,a4,a5,a6,a7,a8) char *s; { - fatal(s,a1,a2,a3,a4); + fatal(s,a1,a2,a3,a4,a5,a6,a7,a8); } -fatal(s,a1,a2,a3,a4) char *s; { +fatal(s,a1,a2,a3,a4,a5,a6,a7,a8) char *s; { fprintf(stderr,"Error: "); - fprintf(stderr,s,a1,a2,a3,a4); + fprintf(stderr,s,a1,a2,a3,a4,a5,a6,a7,a8); fprintf(stderr,"\n"); out_finish(); abort();