corrected
authorceriel <none@none>
Mon, 13 Jun 1988 18:01:47 +0000 (18:01 +0000)
committerceriel <none@none>
Mon, 13 Jun 1988 18:01:47 +0000 (18:01 +0000)
mach/proto/as/comm7.c

index cf26d66..bc110d3 100644 (file)
@@ -180,8 +180,11 @@ small(fitsmall, gain)
        if (bflag)
                return(0);
        if (nbits == BITMAX) {
-               else if (pass == PASS_1)
+               static int w_given;
+               if (pass == PASS_1 && ! w_given) {
+                       w_given = 1;
                        warning("bit table overflow");
+               }
                return(0);
        }
        p = &bittab[(int) (nbits>>3)];