mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Added error_parameter_format(), patch by Konstantinos Paliouras <squarious@gmail.com>
svn path=/trunk/; revision=13876
This commit is contained in:
parent
3bb8964ec2
commit
2a18423084
2 changed files with 6 additions and 0 deletions
|
@ -228,6 +228,7 @@ VOID error_sfile_not_found (LPTSTR);
|
|||
VOID error_file_not_found (VOID);
|
||||
VOID error_path_not_found (VOID);
|
||||
VOID error_too_many_parameters (LPTSTR);
|
||||
VOID error_parameter_format(TCHAR);
|
||||
VOID error_invalid_switch (TCHAR);
|
||||
VOID error_invalid_parameter_format (LPTSTR);
|
||||
VOID error_out_of_memory (VOID);
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "precomp.h"
|
||||
|
||||
|
||||
#define PARAMETERF_ERROR _T("Parameter format not correct - %c\n")
|
||||
#define INVALID_SWITCH _T("Invalid switch - /%c\n")
|
||||
#define TOO_MANY_PARAMETERS _T("Too many parameters - %s\n")
|
||||
#define PATH_NOT_FOUND _T("Path not found\n")
|
||||
|
@ -95,6 +96,10 @@ VOID ErrorMessage (DWORD dwErrorCode, LPTSTR szFormat, ...)
|
|||
#endif
|
||||
}
|
||||
|
||||
VOID error_parameter_format(TCHAR ch)
|
||||
{
|
||||
ConErrPrintf (PARAMETERF_ERROR, ch);
|
||||
}
|
||||
|
||||
|
||||
VOID error_invalid_switch (TCHAR ch)
|
||||
|
|
Loading…
Reference in a new issue