Author: tkreuzer
Date: Fri Oct 26 03:03:04 2007
New Revision: 29888
URL: 
http://svn.reactos.org/svn/reactos?rev=29888&view=rev
Log:
fix error check
Modified:
    trunk/reactos/base/system/autochk/autochk.c
Modified: trunk/reactos/base/system/autochk/autochk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/autochk/autoch…
==============================================================================
--- trunk/reactos/base/system/autochk/autochk.c (original)
+++ trunk/reactos/base/system/autochk/autochk.c Fri Oct 26 03:03:04 2007
@@ -285,7 +285,7 @@
     /* Load the provider which will do the chkdsk */
     Provider = LoadProvider(FileSystem);
-    if (!NT_SUCCESS(Status))
+    if (Provider == NULL)
     {
         DPRINT1("LoadProvider() failed\n");
         PrintString("  Unable to verify a %S volume\n", FileSystem);