summaryrefslogtreecommitdiffstats
path: root/src/include/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/assert.h')
-rw-r--r--src/include/assert.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/assert.h b/src/include/assert.h
index 198538974ff2..90cc2a8b1885 100644
--- a/src/include/assert.h
+++ b/src/include/assert.h
@@ -24,13 +24,15 @@
if (!(x)) { \
printk(BIOS_EMERG, "ASSERTION ERROR: file '%s'" \
", line %d\n", __FILE__, __LINE__); \
- if (IS_ENABLED(CONFIG_FATAL_ASSERTS)) hlt(); \
+ if (IS_ENABLED(CONFIG_FATAL_ASSERTS)) \
+ hlt(); \
} \
}
#define BUG() { \
printk(BIOS_EMERG, "ERROR: BUG ENCOUNTERED at file '%s'"\
", line %d\n", __FILE__, __LINE__); \
- if (IS_ENABLED(CONFIG_FATAL_ASSERTS)) hlt(); \
+ if (IS_ENABLED(CONFIG_FATAL_ASSERTS)) \
+ hlt(); \
}
#define assert(statement) ASSERT(statement)