From 20a5e668c6722db2add1865c85596d4f675fb486 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 16 Nov 2015 11:58:22 -0800 Subject: [PATCH] driver.h: DEBUGLOG: output newline at end of message --- src/sys/driver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sys/driver.h b/src/sys/driver.h index 72477e69..4aa6e213 100644 --- a/src/sys/driver.h +++ b/src/sys/driver.h @@ -10,9 +10,9 @@ #include #if DBG -#define DEBUGLOG(...) DbgPrint(__FUNCTION__ ": " __VA_ARGS__) +#define DEBUGLOG(fmt, ...) DbgPrint(__FUNCTION__ ": " fmt "\n", __VA_ARGS__) #else -#define DEBUGLOG(...) ((void)0) +#define DEBUGLOG(fmt, ...) ((void)0) #endif #endif