mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 00:54:18 +00:00
[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:
parent
9a1c9c3eb4
commit
623f93a9e3
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
if (x & ObpTraceLevel) DbgPrint(__VA_ARGS__)
|
if (x & ObpTraceLevel) DbgPrint(__VA_ARGS__)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define OBTRACE(x, ...) DPRINT(__VA_ARGS__)
|
#define OBTRACE(x, fmt, ...) DPRINT(fmt, ##__VA_ARGS__)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue