summaryrefslogtreecommitdiff
path: root/lib/zassert.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zassert.h')
-rw-r--r--lib/zassert.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/zassert.h b/lib/zassert.h
index 5c06d933e6..3adaf4f98c 100644
--- a/lib/zassert.h
+++ b/lib/zassert.h
@@ -34,9 +34,10 @@ extern void _zlog_assert_failed(const char *assertion, const char *file,
#endif
#define zassert(EX) \
- ((void)((EX) ? 0 : (_zlog_assert_failed(#EX, __FILE__, __LINE__, \
- __ASSERT_FUNCTION), \
- 0)))
+ ((void)((EX) ? 0 \
+ : (_zlog_assert_failed(#EX, __FILE__, __LINE__, \
+ __ASSERT_FUNCTION), \
+ 0)))
#undef assert
#define assert(EX) zassert(EX)