about summary refs log tree commit diff
path: root/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'stdio')
-rw-r--r--stdio/vfscanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio/vfscanf.c b/stdio/vfscanf.c
index cdfedc2485..6eacc2b309 100644
--- a/stdio/vfscanf.c
+++ b/stdio/vfscanf.c
@@ -36,7 +36,7 @@ Cambridge, MA 02139, USA.  */
 
 
 #define	inchar()	((c = getc(s)) == EOF ? EOF : (++read_in, c))
-#define	conv_error()	return ((c == EOF || ungetc(c, s)), done)
+#define	conv_error()	return (ungetc(c, s), done)
 #define input_error()	return (done == 0 ? EOF : done)
 #define	memory_error()	return ((errno = ENOMEM), EOF)