mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 18:12:58 +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
|
@ -165,7 +165,11 @@ INT CommandEchoerr (LPTSTR);
|
|||
INT CommandEchoserr (LPTSTR);
|
||||
|
||||
/* Prototypes for ERROR.C */
|
||||
VOID ErrorMessage (DWORD, LPTSTR, ...);
|
||||
VOID
|
||||
ErrorMessage(
|
||||
IN DWORD dwErrorCode,
|
||||
IN LPTSTR szFormat OPTIONAL,
|
||||
...);
|
||||
|
||||
VOID error_no_pipe (VOID);
|
||||
VOID error_bad_command (LPTSTR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue