diff --git a/mach/proto/ncg/codegen.c b/mach/proto/ncg/codegen.c index 6002f1310..0e54d1e6c 100644 --- a/mach/proto/ncg/codegen.c +++ b/mach/proto/ncg/codegen.c @@ -152,7 +152,7 @@ unsigned codegen(codep,ply,toplevel,costlimit,forced) byte *codep; unsigned cost int j, nargs; getint(i,bp); getint(nargs,bp); - assert(nargs < MAXPROCARGS); + assert(nargs < MAXPROCARG); for (j = 0; j < nargs; j++) { getint(procarg[j],bp); }