diff --git a/io.c b/io.c index e4d9f3c4ec..154b45e950 100644 --- a/io.c +++ b/io.c @@ -7275,7 +7275,7 @@ io_reopen(VALUE io, VALUE nfile) rb_sys_fail(0); } else { - flush_before_seek(fptr); + flush_before_seek(fptr); } if (orig->mode & FMODE_READABLE) { pos = io_tell(orig);