[FSUTIL]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 23 Sep 2017 20:22:59 +0000 (20:22 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 23 Sep 2017 20:22:59 +0000 (20:22 +0000)
Use saved last error, don't get it again

svn path=/trunk/; revision=75935

reactos/base/applications/cmdutils/fsutil/fsinfo.c

index eb5e184..8af4c55 100644 (file)
@@ -523,7 +523,7 @@ StatisticsMain(int argc, const TCHAR *argv[])
         }
         else
         {
-            PrintErrorMessage(GetLastError());
+            PrintErrorMessage(Error);
             CloseHandle(Volume);
             return 1;
         }