Use saved last error, don't get it again

svn path=/trunk/; revision=75935
This commit is contained in:
Pierre Schweitzer 2017-09-23 20:22:59 +00:00
parent e54cfbd253
commit 43f11525a6

View file

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