summaryrefslogtreecommitdiff
path: root/pkg/btrfsmisc/print_tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/btrfsmisc/print_tree.go')
-rw-r--r--pkg/btrfsmisc/print_tree.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/btrfsmisc/print_tree.go b/pkg/btrfsmisc/print_tree.go
index fa864a5..580a0ca 100644
--- a/pkg/btrfsmisc/print_tree.go
+++ b/pkg/btrfsmisc/print_tree.go
@@ -273,11 +273,11 @@ func printHeaderInfo(node btrfs.Node) {
node.Head.Flags,
node.Head.BackrefRev)
- fmt.Printf("checksum stored %v\n", node.Head.Checksum)
+ fmt.Printf("checksum stored %v\n", node.Head.Checksum.Fmt(node.ChecksumType))
if calcSum, err := node.CalculateChecksum(); err != nil {
fmt.Printf("checksum calced %v\n", err)
} else {
- fmt.Printf("checksum calced %v\n", calcSum)
+ fmt.Printf("checksum calced %v\n", calcSum.Fmt(node.ChecksumType))
}
fmt.Printf("fs uuid %v\n", node.Head.MetadataUUID)