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 79f37c9d20..8b5ee5ac75 100644
--- a/io.c
+++ b/io.c
@@ -1869,7 +1869,7 @@ rb_file_sysopen(fname, flags, mode)
const char *fname;
int flags, mode;
{
- return rb_file_sysopen_internal(io_alloc(rb_cFile));
+ return rb_file_sysopen_internal(io_alloc(rb_cFile), fname, flags, mode);
}
#if defined (_WIN32) || defined(DJGPP) || defined(__CYGWIN__) || defined(__human68k__) || defined(__VMS)