mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 14:51:44 +00:00
[CMD] Fix the ErrorMessage() function.
Specify its szFormat parameter optional, and correctly initialize the szMessage buffer.
This commit is contained in:
parent
d5784d6345
commit
d0ced4ffdf
4 changed files with 17 additions and 9 deletions
|
@ -41,7 +41,7 @@ PrintVolumeHeader (LPTSTR pszRootPath)
|
|||
NULL,
|
||||
0))
|
||||
{
|
||||
ErrorMessage(GetLastError (), _T(""));
|
||||
ErrorMessage(GetLastError (), NULL);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue