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:
parent
ea0a1240df
commit
6a96cd97a5
1 changed files with 1 additions and 1 deletions
2
util.h
2
util.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue