format for % was wrong
This commit is contained in:
parent
28157a0fd8
commit
82116f4994
@ -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…
x
Reference in New Issue
Block a user