summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
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);