diff options
Diffstat (limited to 'src/error.c')
| -rw-r--r-- | src/error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.c b/src/error.c index 045931c50..260ca7a3d 100644 --- a/src/error.c +++ b/src/error.c @@ -481,7 +481,7 @@ exception_call: break; default: - mrb_num_args_error(mrb, argc, 0, 3); + mrb_argnum_error(mrb, argc, 0, 3); break; } if (argc > 0) { @@ -538,7 +538,7 @@ mrb_frozen_error(mrb_state *mrb, void *frozen_obj) } MRB_API mrb_noreturn void -mrb_num_args_error(mrb_state *mrb, mrb_int argc, int min, int max) +mrb_argnum_error(mrb_state *mrb, mrb_int argc, int min, int max) { #define FMT(exp) "wrong number of arguments (given %i, expected " exp ")" if (min == max) |
