aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 9849827eef..40601cc6de 100644
--- a/eval.c
+++ b/eval.c
@@ -641,7 +641,7 @@ rb_exc_fatal(VALUE mesg)
void
rb_interrupt(void)
{
- rb_raise(rb_eInterrupt, "");
+ rb_exc_raise(rb_exc_new(rb_eInterrupt, 0, 0));
}
enum {raise_opt_cause, raise_max_opt}; /*< \private */