Author: akhaldi
Date: Mon May 26 13:48:49 2014
New Revision: 63463
URL:
http://svn.reactos.org/svn/reactos?rev=63463&view=rev
Log:
[HELP][SHUTDOWN]
* Use vfwprintf instead of _vcwprintf which shouldn't be exported.
CORE-8174
Modified:
trunk/reactos/base/applications/cmdutils/help/help.c
trunk/reactos/base/applications/shutdown/shutdown.c
Modified: trunk/reactos/base/applications/cmdutils/help/help.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
==============================================================================
--- trunk/reactos/base/applications/cmdutils/help/help.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/cmdutils/help/help.c [iso-8859-1] Mon May 26 13:48:49
2014
@@ -56,7 +56,7 @@
// FIXME: Optimize by using Win32 console functions.
if (IsConsoleHandle(OutputHandle))
{
- _vcwprintf(tmpBuffer, arg_ptr);
+ vfwprintf(stdout, tmpBuffer, arg_ptr);
}
else
{
Modified: trunk/reactos/base/applications/shutdown/shutdown.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/shutdown…
==============================================================================
--- trunk/reactos/base/applications/shutdown/shutdown.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/shutdown/shutdown.c [iso-8859-1] Mon May 26 13:48:49
2014
@@ -22,7 +22,7 @@
va_start(arg_ptr, resID);
LoadStringW(GetModuleHandle(NULL), resID, tmpBuffer, MAX_BUFFER_SIZE);
- _vcwprintf(tmpBuffer, arg_ptr);
+ vfwprintf(stdout, tmpBuffer, arg_ptr);
va_end(arg_ptr);
}