diff options
Diffstat (limited to 'libio/ioseekoff.c')
-rw-r--r-- | libio/ioseekoff.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libio/ioseekoff.c b/libio/ioseekoff.c index 09c138869e..9229166705 100644 --- a/libio/ioseekoff.c +++ b/libio/ioseekoff.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1993,1997,1998,1999,2001,2002 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1997, 1998, 1999, 2001, 2002, 2003 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -56,7 +57,7 @@ _IO_seekoff_unlocked (fp, offset, dir, mode) { if (dir == _IO_seek_cur && _IO_in_backup (fp)) { - if (fp->_vtable_offset != 0 || fp->_mode <= 0) + if (_IO_vtable_offset (fp) != 0 || fp->_mode <= 0) offset -= fp->_IO_read_end - fp->_IO_read_ptr; else abort (); |