summaryrefslogtreecommitdiff
path: root/libc/libio/iofgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/libio/iofgets.c')
-rw-r--r--libc/libio/iofgets.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/libio/iofgets.c b/libc/libio/iofgets.c
index a48edfc10..984cb8610 100644
--- a/libc/libio/iofgets.c
+++ b/libc/libio/iofgets.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2005
- Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
@@ -54,7 +53,7 @@ _IO_fgets (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 = INTUSE(_IO_getline) (fp, buf, n - 1, '\n', 1);
+ count = _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)