aboutsummaryrefslogtreecommitdiff
path: root/libio/iofgets_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofgets_u.c')
-rw-r--r--libio/iofgets_u.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/iofgets_u.c b/libio/iofgets_u.c
index f62f6c6..bf5bb09 100644
--- a/libio/iofgets_u.c
+++ b/libio/iofgets_u.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1995,1996,1997,1998,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
@@ -45,7 +45,7 @@ fgets_unlocked (buf, n, fp)
case. We return an error only when there is a new error. */
old_error = fp->_IO_file_flags & _IO_ERR_SEEN;
fp->_IO_file_flags &= ~_IO_ERR_SEEN;
- count = _IO_getline (fp, buf, n - 1, '\n', 1);
+ count = INTUSE(_IO_getline) (fp, buf, n - 1, '\n', 1);
/* If we read in some bytes and errno is EAGAIN, that error will
be reported for next read. */
if (count == 0 || ((fp->_IO_file_flags & _IO_ERR_SEEN)