Signed-off-by: Alon Bar-Lev <alon.bar...@gmail.com> --- src/error.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/error.c b/src/error.c index 5b25f48..0541bc3 100755 --- a/src/error.c +++ b/src/error.c @@ -81,6 +81,11 @@ MyDebugPrint (const unsigned char* format, ...) NTSTATUS status; char *end; +#ifdef DBG_PRINT + va_start (args, format); + vDbgPrintEx (DPFLTR_IHVNETWORK_ID, DPFLTR_INFO_LEVEL, format, args); + va_end (args); +#endif va_start (args, format); status = RtlStringCchVPrintfExA (g_Debug.text + g_Debug.out, remaining, -- 1.7.3.4