From 8f4621a37b77fcf8b008adbd8391721ba260b262 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 15 Apr 2024 12:40:46 +0200 Subject: Use err() instead of the old errx() --- include/macros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/macros.h b/include/macros.h index 45eae29..4a8108e 100644 --- a/include/macros.h +++ b/include/macros.h @@ -18,8 +18,8 @@ # include "errors.h" # define ASSUME(p) \ ((p) ? (void)0 \ - : errx("%s:%s:%d: assumption ā€˜%sā€™ failed", __FILE__, __func__, \ - __LINE__, #p)) + : err("%s:%s:%d: assumption ā€˜%sā€™ failed", __FILE__, __func__, \ + __LINE__, #p)) #endif #endif /* !MLIB_MACROS_H */ -- cgit v1.2.3