From 13fa3680e562f606e96bb30caf70c01a15dfd22d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Wed, 28 Aug 2013 10:19:54 +0000 Subject: [PATCH] [SVCHOST] Fix debug prints. svn path=/trunk/; revision=59850 --- reactos/base/services/svchost/svchost.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/reactos/base/services/svchost/svchost.h b/reactos/base/services/svchost/svchost.h index e24eb1f494e..d609ce98148 100644 --- a/reactos/base/services/svchost/svchost.h +++ b/reactos/base/services/svchost/svchost.h @@ -22,22 +22,22 @@ // This prints out a SVCHOST-specific debug print, with the PID/TID // #if _EX_ -#define SvchostDbgPrint(l, x, ...) \ +#define SvchostDbgPrint(lev, fmt, ...) \ DbgPrintEx(DPFLTR_SVCHOST_ID, \ - DPFLTR_MASK | l, \ - "[SVCHOST] %lx.%lx: " # x, \ + DPFLTR_MASK | lev, \ + "[SVCHOST] %lx.%lx: " fmt, \ GetCurrentProcessId(), \ GetCurrentThreadId(), \ __VA_ARGS__); #else -#define SvchostDbgPrint(l, x, ...) \ - DbgPrint("[SVCHOST] %lx.%lx: " # x, \ - GetCurrentProcessId(), \ - GetCurrentThreadId(), \ +#define SvchostDbgPrint(lev, fmt, ...) \ + DbgPrint("[SVCHOST] %lx.%lx: " fmt, \ + GetCurrentProcessId(), \ + GetCurrentThreadId(), \ __VA_ARGS__); #endif -#define DBG_ERR(x, ...) SvchostDbgPrint(1, x, __VA_ARGS__) -#define DBG_TRACE(x, ...) SvchostDbgPrint(4, x, __VA_ARGS__) +#define DBG_ERR(fmt, ...) SvchostDbgPrint(1, fmt, __VA_ARGS__) +#define DBG_TRACE(fmt, ...) SvchostDbgPrint(4, fmt, __VA_ARGS__) // // This is the callback that a hosted service can register for stop notification -- 2.17.1