[NTOSKRNL]

Fix OBTRACE definition.
the macro used __VA_ARGS__ and passes that to DPRINT(fmt, ...)
The preprocessor interpretes all arguments of __VA_ARGS__ as one token. This token was now passed as the first parameter of DPRINT1. This caused wrong parameters being used, resulting in a crash.

svn path=/trunk/; revision=53008
This commit is contained in:
Timo Kreuzer 2011-07-31 19:26:11 +00:00
parent 9a1c9c3eb4
commit 623f93a9e3

View file

@ -31,7 +31,7 @@
if (x & ObpTraceLevel) DbgPrint(__VA_ARGS__)
#endif
#else
#define OBTRACE(x, ...) DPRINT(__VA_ARGS__)
#define OBTRACE(x, fmt, ...) DPRINT(fmt, ##__VA_ARGS__)
#endif
//