summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/bigdecimal.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-11 20:21:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-11 20:21:50 +0900
commitf74e23af32525b5f2db1729586c930e2becdae30 (patch)
treebf5364791dd79cbf37c596aaffb310c1923f8334 /ext/bigdecimal/bigdecimal.c
parentc2723e59c2a66a3d2fc8849b3b25c04c9333230a (diff)
Fixed argument in the fallback function [Bug #15987]
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r--ext/bigdecimal/bigdecimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index b9bdfd1462d..b7b6ebb559f 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -2578,7 +2578,7 @@ opts_exception_p(VALUE opts)
break;
default:
rb_raise(rb_eArgError, "true or false is expected as exception: %+"PRIsVALUE,
- obj);
+ exception);
}
return exception != Qfalse;
}