aboutsummaryrefslogtreecommitdiff
path: root/include/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/macros.h')
-rw-r--r--include/macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/macros.h b/include/macros.h
index 5be5e4a..5fef367 100644
--- a/include/macros.h
+++ b/include/macros.h
@@ -18,8 +18,8 @@
# include "errors.h"
# define ASSUME(p) \
((p) ? (void)0 \
- : warnx("%s:%s:%d: assumption ā€˜%sā€™ failed", __FILE__, __func__, \
- __LINE__, #p))
+ : errx("%s:%s:%d: assumption ā€˜%sā€™ failed", __FILE__, __func__, \
+ __LINE__, #p))
#endif
#endif /* !MLIB_MACROS_H */