format for % was wrong

This commit is contained in:
eck 1989-11-01 10:02:23 +00:00
parent 142a703f77
commit ce1285d2eb

View file

@ -15,7 +15,7 @@ ch7bin(pval, oper, val)
switch (oper) { switch (oper) {
case '%': case '%':
if (val == 0) if (val == 0)
error("% by 0"); error("%% by 0");
else else
*pval = *pval % val; *pval = *pval % val;
break; break;