diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-03-15 13:13:06 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-03-15 13:13:06 +0100 |
commit | 598b074fe7e2170fc3dd6f6edf0e03b8558b02d4 (patch) | |
tree | 3faf8877333578c1bc5a87638ce27ec5e13043c4 /include | |
parent | d34077c8db298933d7a263c20d686699e65a0ad5 (diff) |
Use errx() instead of warnx() in ASSUME()
Diffstat (limited to 'include')
-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 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 */ |