Andrew Nguyen : ntdll: Fix one-time warning message output.

Alexandre Julliard julliard at winehq.org
Tue Feb 1 12:24:58 CST 2011


Module: wine
Branch: master
Commit: c698fc86b9ee15fed718c95b850b8017ce80349d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c698fc86b9ee15fed718c95b850b8017ce80349d

Author: Andrew Nguyen <anguyen at codeweavers.com>
Date:   Tue Feb  1 04:33:47 2011 -0600

ntdll: Fix one-time warning message output.

---

 dlls/ntdll/directory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
index 5a5d101..66572da 100644
--- a/dlls/ntdll/directory.c
+++ b/dlls/ntdll/directory.c
@@ -847,7 +847,7 @@ static void add_fs_cache( dev_t dev, fsid_t fsid, BOOLEAN case_sensitive )
         }
 
     /* Cache is out of space, warn */
-    if (once++)
+    if (!once++)
         WARN( "FS cache is out of space, expect performance problems\n" );
 }
 




More information about the wine-cvs mailing list