]> git.proxmox.com Git - mirror_zfs.git/commit
zdb: zero-pad checksum output
authorRob N ★ <robn@despairlabs.com>
Tue, 7 Feb 2023 21:48:22 +0000 (08:48 +1100)
committerGitHub <noreply@github.com>
Tue, 7 Feb 2023 21:48:22 +0000 (13:48 -0800)
commitac7648179c856750b719c7a9e0464466df390b26
treeecdddd216680e17327c1e0c7ff1ce4d3522553c7
parenteb823cbc76d28a7cafdf6a7aafdefe7e74fe26bc
zdb: zero-pad checksum output

The leading zeroes are part of the checksum so we should show them.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #14464
cmd/zdb/zdb.c