fix reactos_support_code MSVC build.
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 5 Feb 2017 01:03:45 +0000 (01:03 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 5 Feb 2017 01:03:45 +0000 (01:03 +0000)
svn path=/trunk/; revision=73690

reactos/sdk/tools/isohybrid/reactos_support_code.c

index b4d29c5..aa9f2a4 100644 (file)
@@ -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 @@ isohybrid_error(int eval, const char* fmt, ...)
 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);
 }