summaryrefslogtreecommitdiffstats
path: root/lib/zassert.h
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-04-06 02:10:30 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-04-06 02:10:30 +0100
commit8fea5ca7104c0d95108947661a4991b61b2ee06e (patch)
tree7ad44a658a61d4a8dfb43ca5b6122c5626f68ea0 /lib/zassert.h
parentc933cf7233f51f677ab01689f175ceb3dc5361f6 (diff)
downloadquagga-8fea5ca7104c0d95108947661a4991b61b2ee06e.tar.bz2
quagga-8fea5ca7104c0d95108947661a4991b61b2ee06e.tar.xz
First beta release
Various bug fixes and improvements. Running with a fair amount of debug/assert code, which must be removed at some date.
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__, \