public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4759d84
)
Increased the amount of information passed through error routines
author
sater
<none@none>
Fri, 17 Aug 1984 15:35:28 +0000
(15:35 +0000)
committer
sater
<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
patch
|
blob
|
history
diff --git
a/mach/proto/cg/subr.c
b/mach/proto/cg/subr.c
index
90f0add
..
d174e3f
100644
(file)
--- 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();