X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=subsys%2Fsystem%2Fcmd%2Fecho.c;fp=subsys%2Fsystem%2Fcmd%2Fecho.c;h=122a1652b1b5ab8e9eee2fe8d99b5798e4f65897;hp=7d55b0bf9f9c60721c5492bcdbd49e2f2e58591b;hb=7c0cf90e3b750f1f0dc83b2eec9e5c68a512c30f;hpb=ee8b63255465d8c28be3e7bd11628015708fc1ab diff --git a/subsys/system/cmd/echo.c b/subsys/system/cmd/echo.c index 7d55b0b..122a165 100644 --- a/subsys/system/cmd/echo.c +++ b/subsys/system/cmd/echo.c @@ -37,7 +37,7 @@ INT CommandEcho (LPTSTR cmd, LPTSTR param) { #ifdef _DEBUG - DebugPrintf ("CommandEcho '%s' : '%s'\n", cmd, param); + DebugPrintf (_T("CommandEcho '%s' : '%s'\n"), cmd, param); #endif if (!_tcsncmp (param, _T("/?"), 2)) @@ -77,19 +77,19 @@ INT CommandEcho (LPTSTR cmd, LPTSTR param) INT CommandEchos (LPTSTR cmd, LPTSTR param) { #ifdef _DEBUG - DebugPrintf ("CommandEchos '%s' : '%s'\n", cmd, param); + DebugPrintf (_T("CommandEchos '%s' : '%s'\n"), cmd, param); #endif if (!_tcsncmp (param, _T("/?"), 2)) { - ConOutPuts ("Display a messages without trailing carridge return and line feed.\n" - "\n" - " ECHOS message"); + ConOutPuts (_T("Display a messages without trailing carridge return and line feed.\n" + "\n" + " ECHOS message")); return 0; } if (*param) - ConOutPrintf ("%s", param); + ConOutPrintf (_T("%s"), param); return 0; } @@ -98,15 +98,15 @@ INT CommandEchos (LPTSTR cmd, LPTSTR param) INT CommandEchoerr (LPTSTR cmd, LPTSTR param) { #ifdef _DEBUG - DebugPrintf ("CommandEchoerr '%s' : '%s'\n", cmd, param); + DebugPrintf (_T("CommandEchoerr '%s' : '%s'\n"), cmd, param); #endif if (!_tcsncmp (param, _T("/?"), 2)) { - ConOutPuts ("Displays a message to the standard error.\n" - "\n" - " ECHOERR message\n" - " ECHOERR. prints an empty line"); + ConOutPuts (_T("Displays a message to the standard error.\n" + "\n" + " ECHOERR message\n" + " ECHOERR. prints an empty line")); return 0; } @@ -128,14 +128,14 @@ INT CommandEchoerr (LPTSTR cmd, LPTSTR param) INT CommandEchoserr (LPTSTR cmd, LPTSTR param) { #ifdef _DEBUG - DebugPrintf ("CommandEchoserr '%s' : '%s'\n", cmd, param); + DebugPrintf (_T("CommandEchoserr '%s' : '%s'\n"), cmd, param); #endif if (!_tcsncmp (param, _T("/?"), 2)) { - ConOutPuts ("Prints a messages to standard error output without trailing carridge return and line feed.\n" - "\n" - " ECHOSERR message"); + ConOutPuts (_T("Prints a messages to standard error output without trailing carridge return and line feed.\n" + "\n" + " ECHOSERR message")); return 0; }