changeset 2716:22602f09ebbd

Fix trivial thinko in last change
author jlarmour
date Fri, 16 Jan 2009 00:58:49 +0000
parents f9ccae0aa179
children c301264acb03
files packages/language/c/libc/stdio/current/src/common/fflush.cxx
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/language/c/libc/stdio/current/src/common/fflush.cxx
+++ b/packages/language/c/libc/stdio/current/src/common/fflush.cxx
@@ -83,7 +83,7 @@ cyg_libc_stdio_flush_all_but( Cyg_StdioS
         for (i=0; (i<FOPEN_MAX) && !err; i++) {
             if (files_flushed[i] == false) {
                 // Don't let the files table change e.g. by closing the file.
-                if ( Cyg_libc_stdio_files::lock() ) {
+                if ( !Cyg_libc_stdio_files::lock() ) {
                     err = EINTR;
                     break;
                 }