Increased the amount of information passed through error routines
authorsater <none@none>
Fri, 17 Aug 1984 15:35:28 +0000 (15:35 +0000)
committersater <none@none>
Fri, 17 Aug 1984 15:35:28 +0000 (15:35 +0000)
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?

mach/proto/cg/subr.c

index 90f0add..d174e3f 100644 (file)
@@ -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();