Added error_parameter_format(), patch by Konstantinos Paliouras
<squarious(a)gmail.com>
Modified: trunk/reactos/subsys/system/cmd/cmd.h
Modified: trunk/reactos/subsys/system/cmd/error.c
_____
Modified: trunk/reactos/subsys/system/cmd/cmd.h
--- trunk/reactos/subsys/system/cmd/cmd.h 2005-03-08 14:28:04 UTC
(rev 13875)
+++ trunk/reactos/subsys/system/cmd/cmd.h 2005-03-08 15:02:41 UTC
(rev 13876)
@@ -228,6 +228,7 @@
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);
_____
Modified: trunk/reactos/subsys/system/cmd/error.c
--- trunk/reactos/subsys/system/cmd/error.c 2005-03-08 14:28:04 UTC
(rev 13875)
+++ trunk/reactos/subsys/system/cmd/error.c 2005-03-08 15:02:41 UTC
(rev 13876)
@@ -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 @@
#endif
}
+VOID error_parameter_format(TCHAR ch)
+{
+ ConErrPrintf (PARAMETERF_ERROR, ch);
+}
VOID error_invalid_switch (TCHAR ch)
Show replies by date