update for HEAD-2003021201
[reactos.git] / lib / msvcrt / stdio / fflush.c
index 7848bb3..7d34c0f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * COPYRIGHT:   See COPYING in the top level directory
  * PROJECT:     ReactOS system libraries
- * FILE:        lib/crtdll/conio/kbhit.c
+ * FILE:        lib/msvcrt/stdio/fflush.c
  * PURPOSE:     Checks for keyboard hits
  * PROGRAMER:   Boudewijn Dekker
  * UPDATE HISTORY:
@@ -33,7 +33,7 @@ int fflush(FILE *f)
 
      __set_errno(0);
     _fwalk((void (*)(FILE *))fflush);
-    if (_errno)
+    if (errno)
       return EOF;
     __set_errno(e);
     return 0;