summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/bigdecimal.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-11 20:19:53 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-11 20:20:02 +0900
commitc2723e59c2a66a3d2fc8849b3b25c04c9333230a (patch)
treef191422aba3308541b78b3bd3f9e661d2f9a6790 /ext/bigdecimal/bigdecimal.c
parent4018eee4311a610dfaa2b2dca02c6f026b71eab7 (diff)
Removed wrong 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 430707a4d64..b9bdfd1462d 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,
- flagname, obj);
+ obj);
}
return exception != Qfalse;
}