1
0
Fork 0
mirror of https://passt.top/passt synced 2025-05-25 10:35:35 +02:00

util: Fix typo, ASSSERTION -> ASSERTION

Fixes: 9153aca15b ("util: Add abort_with_msg() and ASSERT_WITH_MSG() helpers")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Stefano Brivio 2025-04-30 16:59:13 +02:00
parent ea0a1240df
commit 6a96cd97a5

2
util.h
View file

@ -75,7 +75,7 @@ void abort_with_msg(const char *fmt, ...)
#define ASSERT_WITH_MSG(expr, ...) \
((expr) ? (void)0 : abort_with_msg(__VA_ARGS__))
#define ASSERT(expr) \
ASSERT_WITH_MSG((expr), "ASSSERTION FAILED in %s (%s:%d): %s", \
ASSERT_WITH_MSG((expr), "ASSERTION FAILED in %s (%s:%d): %s", \
__func__, __FILE__, __LINE__, STRINGIFY(expr))
#ifdef P_tmpdir