summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/pathname/pathname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c
index a32c1fdeca..d62cbdd83e 100644
--- a/ext/pathname/pathname.c
+++ b/ext/pathname/pathname.c
@@ -491,5 +491,5 @@ Init_pathname()
rb_define_method(rb_cPathname, "mtime", path_mtime, 0);
rb_define_method(rb_cPathname, "chmod", path_chmod, 1);
rb_define_method(rb_cPathname, "lchmod", path_lchmod, 1);
- rb_define_method(rb_cPathname, "chown", path_chown, 1);
+ rb_define_method(rb_cPathname, "chown", path_chown, 2);
}