format for % was wrong
This commit is contained in:
parent
142a703f77
commit
ce1285d2eb
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue