about summary refs log tree commit diff
path: root/libio/getwc_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/getwc_u.c')
-rw-r--r--libio/getwc_u.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/getwc_u.c b/libio/getwc_u.c
index 229343cc61..bdad3c8bf3 100644
--- a/libio/getwc_u.c
+++ b/libio/getwc_u.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,1995,1996,1997,1999,2000, 2006  Free Software Foundation, Inc.
+/* Copyright (C) 1993,1995,1996,1997,1999,2000  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
@@ -33,7 +33,7 @@
 wint_t
 __getwc_unlocked (FILE *fp)
 {
-  CHECK_FILE (fp, WEOF);
+  CHECK_FILE (fp, EOF);
   return _IO_getwc_unlocked (fp);
 }