Author: spetreolle
Date: Sun Feb 5 01:03:45 2017
New Revision: 73690
URL:
http://svn.reactos.org/svn/reactos?rev=73690&view=rev
Log:
fix reactos_support_code MSVC build.
Modified:
trunk/reactos/sdk/tools/isohybrid/reactos_support_code.c
Modified: trunk/reactos/sdk/tools/isohybrid/reactos_support_code.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/tools/isohybrid/reacto…
==============================================================================
--- trunk/reactos/sdk/tools/isohybrid/reactos_support_code.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/tools/isohybrid/reactos_support_code.c [iso-8859-1] Sun Feb 5
01:03:45 2017
@@ -3,10 +3,9 @@
void
isohybrid_error(int eval, const char* fmt, ...)
{
- fprintf(stderr, "isohybrid: ");
-
va_list ap;
va_start(ap, fmt);
+ fprintf(stderr, "isohybrid: ");
vfprintf(stderr, fmt, ap);
va_end(ap);
exit(eval);
@@ -15,10 +14,9 @@
void
isohybrid_warning(const char *fmt, ...)
{
- fprintf(stderr, "isohybrid: ");
-
va_list ap;
va_start(ap, fmt);
+ fprintf(stderr, "isohybrid: ");
vfprintf(stderr, fmt, ap);
va_end(ap);
}