diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/btrfsmisc/print_tree.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/btrfsmisc/print_tree.go b/pkg/btrfsmisc/print_tree.go index 580a0ca..a57e69e 100644 --- a/pkg/btrfsmisc/print_tree.go +++ b/pkg/btrfsmisc/print_tree.go @@ -154,7 +154,7 @@ func PrintTree(fs *btrfs.FS, root btrfs.LogicalAddr) error { case btrfsitem.FreeSpaceBitmap: fmt.Printf("\t\tfree space bitmap\n") case btrfsitem.Chunk: - fmt.Printf("\t\tlength %v owner %d stripe_len %v type %v\n", + fmt.Printf("\t\tlength %d owner %d stripe_len %v type %v\n", body.Head.Size, body.Head.Owner, body.Head.StripeLen, body.Head.Type) fmt.Printf("\t\tio_align %v io_width %v sector_size %v\n", body.Head.IOOptimalAlign, body.Head.IOOptimalWidth, body.Head.IOMinSize) @@ -183,7 +183,7 @@ func PrintTree(fs *btrfs.FS, root btrfs.LogicalAddr) error { case btrfsitem.DevExtent: fmt.Printf(""+ "\t\tdev extent chunk_tree %v\n"+ - "\t\tchunk_objectid %v chunk_offset %v length %v\n"+ + "\t\tchunk_objectid %v chunk_offset %d length %d\n"+ "\t\tchunk_tree_uuid %v\n", body.ChunkTree, body.ChunkObjectID, body.ChunkOffset, body.Length, body.ChunkTreeUUID) |