fix error check

svn path=/trunk/; revision=29888
This commit is contained in:
Timo Kreuzer 2007-10-25 23:03:04 +00:00
parent cd76b4ba4b
commit f20c2c30a3

View file

@ -285,7 +285,7 @@ CheckVolume(
/* 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);