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) {
case '%':
if (val == 0)
error("% by 0");
error("%% by 0");
else
*pval = *pval % val;
break;