aboutsummaryrefslogtreecommitdiff
path: root/libio/freopen64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/freopen64.c')
-rw-r--r--libio/freopen64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/freopen64.c b/libio/freopen64.c
index 4176dd0511..d57994df05 100644
--- a/libio/freopen64.c
+++ b/libio/freopen64.c
@@ -54,7 +54,7 @@ freopen64 (filename, mode, fp)
}
INTUSE(_IO_file_close_it) (fp);
_IO_JUMPS ((struct _IO_FILE_plus *) fp) = &_IO_file_jumps;
- if (fp->_vtable_offset == 0 && fp->_wide_data != NULL)
+ if (_IO_vtable_offset (fp) == 0 && fp->_wide_data != NULL)
fp->_wide_data->_wide_vtable = &_IO_wfile_jumps;
result = INTUSE(_IO_file_fopen) (fp, filename, mode, 0);
if (result != NULL)