diff options
Diffstat (limited to 'src/include/assert.h')
-rw-r--r-- | src/include/assert.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/assert.h b/src/include/assert.h index 198538974f..90cc2a8b18 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) |