aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/bc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index dd2d7f22c..f0c323d93 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -7236,7 +7236,7 @@ static const char bc_lib[] ALIGN1 = {
"\n" "}"
"\n" "scale=s"
"\n" "ibase=b"
-"\n" "if(n)return(-r/1)"
+"\n" "if(n)r=-r"
"\n" "return(r/1)"
"\n" "}"
"\n" "define c(x){"