projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd6c1c8
)
[SDK] Don't just infinitely spam the DbgPrint in the bootloader (#6763)
author
Justin Miller
<justin.miller@reactos.org>
Thu, 18 Apr 2024 19:08:00 +0000
(12:08 -0700)
committer
GitHub
<noreply@github.com>
Thu, 18 Apr 2024 19:08:00 +0000
(12:08 -0700)
sdk/lib/cmlib/cmlib.h
patch
|
blob
|
history
diff --git
a/sdk/lib/cmlib/cmlib.h
b/sdk/lib/cmlib/cmlib.h
index
7fcb6c6
..
bfb35e8
100644
(file)
--- a/
sdk/lib/cmlib/cmlib.h
+++ b/
sdk/lib/cmlib/cmlib.h
@@
-380,7
+380,8
@@
extern ULONG CmlibTraceLevel;
// Hack since big keys are not yet supported
//
#ifdef _BLDR_
-#define ASSERT_VALUE_BIG(h, s) DbgPrint("Big keys aren't supported!\n");
+#define ASSERT_VALUE_BIG(h, s) \
+ do { if (CmpIsKeyValueBig(h,s)) DbgPrint("Big keys aren't supported!\n"); } while (0)
#else
#define ASSERT_VALUE_BIG(h, s) \
ASSERTMSG("Big keys not supported!\n", !CmpIsKeyValueBig(h, s));