summary refs log tree commit diff
path: root/libio/oldiofsetpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/oldiofsetpos.c')
-rw-r--r--libio/oldiofsetpos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/oldiofsetpos.c b/libio/oldiofsetpos.c
index 39adc5f5a3..ce3bb12363 100644
--- a/libio/oldiofsetpos.c
+++ b/libio/oldiofsetpos.c
@@ -39,7 +39,7 @@ _IO_old_fsetpos (fp, posp)
   CHECK_FILE (fp, EOF);
   _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
   _IO_flockfile (fp);
-  if (INTUSE(_IO_seekpos) (fp, posp->__pos, _IOS_INPUT|_IOS_OUTPUT)
+  if (_IO_seekpos_unlocked (fp, posp->__pos, _IOS_INPUT|_IOS_OUTPUT)
       == _IO_pos_BAD)
     {
       /* ANSI explicitly requires setting errno to a positive value on