summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 3ac6b97a0e..bd21e9460e 100644
--- a/io.c
+++ b/io.c
@@ -4945,7 +4945,7 @@ internal_pwrite_func(void *ptr)
* File.read("out") #=> "\u0000\u0000\u0000ABCDEF"
*/
static VALUE
-rb_io_pwrite(VALUE io, VALUE offset, VALUE str)
+rb_io_pwrite(VALUE io, VALUE str, VALUE offset)
{
rb_io_t *fptr;
ssize_t n;