aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2025-04-30 16:59:13 +0200
committerStefano Brivio <sbrivio@redhat.com>2025-05-02 11:58:10 +0200
commit6a96cd97a5fda26a8f12531a72f6a969e476ad9e (patch)
treebf1b7b4d5340c0bc3adf1bc197ef6543f1f3df0d
parentea0a1240df671de221f469327899564ed74b5edd (diff)
downloadpasst-6a96cd97a5fda26a8f12531a72f6a969e476ad9e.tar
passt-6a96cd97a5fda26a8f12531a72f6a969e476ad9e.tar.gz
passt-6a96cd97a5fda26a8f12531a72f6a969e476ad9e.tar.bz2
passt-6a96cd97a5fda26a8f12531a72f6a969e476ad9e.tar.lz
passt-6a96cd97a5fda26a8f12531a72f6a969e476ad9e.tar.xz
passt-6a96cd97a5fda26a8f12531a72f6a969e476ad9e.tar.zst
passt-6a96cd97a5fda26a8f12531a72f6a969e476ad9e.zip
util: Fix typo, ASSSERTION -> ASSERTION
Fixes: 9153aca15bc1 ("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>
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index cc7d084..5947337 100644
--- a/util.h
+++ b/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