diff options
author | Alex Ionescu <aionescu@gmail.com> | 2017-03-20 18:59:56 +0300 |
---|---|---|
committer | Alex Ionescu <aionescu@gmail.com> | 2017-03-20 18:59:56 +0300 |
commit | 50a9f74a86cac9863c8c59cd282c767392cbdc1a (patch) | |
tree | 4cc311c2f4174ab66c47d21eb09d4423a9b4299d | |
parent | d2894e306403cb00428c6c1fd943ebeee0118f4c (diff) |
Fix ShvOsDebugPrint (at least on Windows).
-rw-r--r-- | nt/shvos.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |