diff options
author | Rob N ★ <robn@despairlabs.com> | 2022-10-28 18:46:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 18:46:44 +0000 |
commit | 5f0a48c7c95d938e4cb0ae3ee864241b324853b7 (patch) | |
tree | 622a71b1f5c7bd8a29bc577f0394731d273f1758 /include/os/freebsd/spl | |
parent | 8af08a69cda63e6d7983fc2f32f9fed4155b95be (diff) | |
download | src-5f0a48c7c95d938e4cb0ae3ee864241b324853b7.tar.gz src-5f0a48c7c95d938e4cb0ae3ee864241b324853b7.zip |
debug: fix output from VERIFY0 assertion
The previous version reported all the right info, but the VERIFY3 name
made a little more confusing when looking for the matching location in
the source code.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Rob N ★ <robn@despairlabs.com>
Closes #14099
Diffstat (limited to 'include/os/freebsd/spl')
-rw-r--r-- | include/os/freebsd/spl/sys/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/os/freebsd/spl/sys/debug.h b/include/os/freebsd/spl/sys/debug.h index 91e2cfe5539c..3e67cf0e9a7d 100644 --- a/include/os/freebsd/spl/sys/debug.h +++ b/include/os/freebsd/spl/sys/debug.h @@ -131,7 +131,7 @@ spl_assert(const char *buf, const char *file, const char *func, int line) const int64_t _verify3_right = (int64_t)(RIGHT); \ if (unlikely(!(_verify3_left == _verify3_right))) \ spl_panic(__FILE__, __FUNCTION__, __LINE__, \ - "VERIFY3(0 == " #RIGHT ") " \ + "VERIFY0(0 == " #RIGHT ") " \ "failed (0 == %lld)\n", \ (long long) (_verify3_right)); \ } while (0) |