We can't use `shut_your_big_mouth_gcc` here. Use the `!` trick suggested
by Vincent Bernat in the list in Message-ID: [email protected]
---
include/common/debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/common/debug.h b/include/common/debug.h
index 333203dd2..d6bc3c208 100644
--- a/include/common/debug.h
+++ b/include/common/debug.h
@@ -59,7 +59,7 @@
do { \
if (unlikely(cond)) { \
const char msg[] = "\nFATAL: bug condition \"" #cond
"\" matched at " file ":" #line "\n"; \
- (void)write(2, msg, strlen(msg)); \
+ (void)!write(2, msg, strlen(msg)); \
CRASH_NOW(); \
} \
} while (0)
--
2.21.0