diff options
-rw-r--r-- | lib/libspl/include/assert.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libspl/include/assert.h b/lib/libspl/include/assert.h index b53942094..026d6fef9 100644 --- a/lib/libspl/include/assert.h +++ b/lib/libspl/include/assert.h @@ -72,7 +72,8 @@ do { \ const TYPE __right = (TYPE)(RIGHT); \ if (!(__left OP __right)) \ libspl_assertf(__FILE__, __FUNCTION__, __LINE__, \ - "%s %s %s (0x%llx %s 0x%llx)", #LEFT, #OP, #RIGHT); \ + "%s %s %s (0x%llx %s 0x%llx)", #LEFT, #OP, #RIGHT, \ + (u_longlong_t)__left, #OP, (u_longlong_t)__right); \ } while (0) #define VERIFY3S(x, y, z) VERIFY3_IMPL(x, y, z, int64_t) |