aboutsummaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 21b9fecf8c..f1cb7b6716 100644
--- a/time.c
+++ b/time.c
@@ -4959,7 +4959,7 @@ time_dump(int argc, VALUE *argv, VALUE time)
{
VALUE str;
- rb_scan_args(argc, argv, "01", 0);
+ rb_check_arity(argc, 0, 1);
str = time_mdump(time);
return str;