aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eval.c2
-rw-r--r--file.c2
-rw-r--r--numeric.c2
-rw-r--r--string.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/eval.c b/eval.c
index 75648f1d8d..138006e0db 100644
--- a/eval.c
+++ b/eval.c
@@ -790,7 +790,7 @@ make_exception(int argc, const VALUE *argv, int isstr)
}
break;
default:
- rb_error_arity(argc, 0, 3);
+ rb_error_arity(argc, 0, 3);
}
if (argc > 0) {
if (!rb_obj_is_kind_of(mesg, rb_eException))
diff --git a/file.c b/file.c
index 15970cb0d3..f8df0f6e43 100644
--- a/file.c
+++ b/file.c
@@ -3228,7 +3228,7 @@ rb_file_s_umask(int argc, VALUE *argv)
omask = umask(NUM2MODET(argv[0]));
break;
default:
- rb_error_arity(argc, 0, 1);
+ rb_error_arity(argc, 0, 1);
}
return MODET2NUM(omask);
}
diff --git a/numeric.c b/numeric.c
index 90eabc29e0..78c4c33542 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3418,7 +3418,7 @@ int_chr(int argc, VALUE *argv, VALUE num)
case 1:
break;
default:
- rb_error_arity(argc, 0, 1);
+ rb_error_arity(argc, 0, 1);
}
enc = rb_to_encoding(argv[0]);
if (!enc) enc = rb_ascii8bit_encoding();
diff --git a/string.c b/string.c
index f76a417d45..64bb6093c6 100644
--- a/string.c
+++ b/string.c
@@ -5186,7 +5186,7 @@ str_gsub(int argc, VALUE *argv, VALUE str, int bang)
tainted = OBJ_TAINTED_RAW(repl);
break;
default:
- rb_error_arity(argc, 1, 2);
+ rb_error_arity(argc, 1, 2);
}
pat = get_pat_quoted(argv[0], 1);