summaryrefslogtreecommitdiffstats
path: root/lib/zassert.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zassert.h')
-rw-r--r--lib/zassert.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/zassert.h b/lib/zassert.h
index a766eb7b..8ca2203f 100644
--- a/lib/zassert.h
+++ b/lib/zassert.h
@@ -49,11 +49,8 @@ extern void _zlog_abort_err (const char *mess, int err, const char *file,
#define dassert(EX)
#endif
-/* TODO: implement _zlog_abort() to give required messages */
-
/* Abort with message */
-#define zabort(MS) _zlog_assert_failed(MS, __FILE__, __LINE__, \
- __ASSERT_FUNCTION)
+#define zabort(MS) _zlog_abort_mess(MS, __FILE__, __LINE__, __ASSERT_FUNCTION)
/* Abort with message and errno and strerror() thereof */
#define zabort_errno(MS) _zlog_abort_errno(MS, __FILE__, __LINE__, \