diff options
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/vfprintf.c | 4 | ||||
-rw-r--r-- | stdio-common/vfscanf.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index 16f280ed4f..bcff97118d 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -78,7 +78,7 @@ if (width > 0) \ done += INTUSE(_IO_padn) (s, (Padchar), width) # define PUTC(C, F) _IO_putc_unlocked (C, F) -# define ORIENT if (s->_vtable_offset == 0 && _IO_fwide (s, -1) != -1)\ +# define ORIENT if (_IO_vtable_offset (s) == 0 && _IO_fwide (s, -1) != -1)\ return -1 # else # define vfprintf _IO_vfwprintf @@ -1267,7 +1267,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) /* Check for correct orientation. */ if ( # ifdef USE_IN_LIBIO - s->_vtable_offset == 0 && + _IO_vtable_offset (s) == 0 && # endif _IO_fwide (s, sizeof (CHAR_T) == 1 ? -1 : 1) != (sizeof (CHAR_T) == 1 ? -1 : 1)) diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c index 8f8c99af8c..4f6a531b0c 100644 --- a/stdio-common/vfscanf.c +++ b/stdio-common/vfscanf.c @@ -120,7 +120,7 @@ # define ISDIGIT(Ch) isdigit (Ch) # define ISXDIGIT(Ch) isxdigit (Ch) # define TOLOWER(Ch) tolower (Ch) -# define ORIENT if (s->_vtable_offset == 0 \ +# define ORIENT if (_IO_vtable_offset (s) == 0 \ && _IO_fwide (s, -1) != -1) \ return EOF |