diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-15 12:40:46 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-15 12:40:46 +0200 |
commit | 8f4621a37b77fcf8b008adbd8391721ba260b262 (patch) | |
tree | a9cf42d2b857f9766decbe0be2d0fa7c3f0c7095 | |
parent | 29abb22298efa1f70968e309c75f13966e9343a8 (diff) |
Use err() instead of the old errx()
-rw-r--r-- | include/macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |