diff options
Diffstat (limited to 'libio/oldiofgetpos.c')
-rw-r--r-- | libio/oldiofgetpos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/oldiofgetpos.c b/libio/oldiofgetpos.c index b175b6b..0d6d187 100644 --- a/libio/oldiofgetpos.c +++ b/libio/oldiofgetpos.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993,95,96,97,98,99,2000 Free Software Foundation, Inc. +/* Copyright (C) 1993,95,96,97,98,99,2000, 2002 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 @@ -40,7 +40,7 @@ _IO_old_fgetpos (fp, posp) CHECK_FILE (fp, EOF); _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp); _IO_flockfile (fp); - pos = _IO_seekoff (fp, 0, _IO_seek_cur, 0); + pos = INTUSE(_IO_seekoff) (fp, 0, _IO_seek_cur, 0); if (_IO_in_backup (fp)) pos -= fp->_IO_save_end - fp->_IO_save_base; _IO_funlockfile (fp); |