Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ionescu007/SimpleVisor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ionescu <aionescu@gmail.com>2017-03-20 18:59:56 +0300
committerAlex Ionescu <aionescu@gmail.com>2017-03-20 18:59:56 +0300
commit50a9f74a86cac9863c8c59cd282c767392cbdc1a (patch)
tree4cc311c2f4174ab66c47d21eb09d4423a9b4299d
parentd2894e306403cb00428c6c1fd943ebeee0118f4c (diff)
Fix ShvOsDebugPrint (at least on Windows).
-rw-r--r--nt/shvos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nt/shvos.c b/nt/shvos.c
index e93abaf..69bcbdc 100644
--- a/nt/shvos.c
+++ b/nt/shvos.c
@@ -21,7 +21,7 @@ Environment:
--*/
#include <ntifs.h>
-#include <varargs.h>
+#include <stdarg.h>
#include "shv_x.h"
NTKERNELAPI
@@ -294,7 +294,7 @@ ShvOsDebugPrint (
//
// Call the debugger API
//
- va_start(arglist);
+ va_start(arglist, Format);
vDbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, Format, arglist);
va_end(arglist);
}