summaryrefslogtreecommitdiff
path: root/libio/ioseekpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/ioseekpos.c')
-rw-r--r--libio/ioseekpos.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libio/ioseekpos.c b/libio/ioseekpos.c
index 5b59ed7d99..c81c333676 100644
--- a/libio/ioseekpos.c
+++ b/libio/ioseekpos.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU IO Library.
This library is free software; you can redistribute it and/or
@@ -43,6 +43,7 @@ _IO_seekpos (fp, pos, mode)
_IO_free_backup_area (fp);
retval = _IO_SEEKPOS (fp, pos, mode);
- _IO_cleanup_region_end (1);
+ _IO_funlockfile (fp);
+ _IO_cleanup_region_end (0);
return retval;
}