summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 8583286e71..1f4a7235f0 100644
--- a/error.c
+++ b/error.c
@@ -384,7 +384,7 @@ exc_exception(argc, argv, self)
if (argc == 0) return self;
if (argc == 1 && self == argv[0]) return self;
exc = rb_obj_clone(self);
- rb_obj_call_init(exc, argc, argv);
+ exc_initialize(argc, argv, exc);
return exc;
}