summaryrefslogtreecommitdiff
path: root/cmd/btrfs-ls-trees
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/btrfs-ls-trees')
-rw-r--r--cmd/btrfs-ls-trees/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-ls-trees/main.go b/cmd/btrfs-ls-trees/main.go
index 96638ed..395ef07 100644
--- a/cmd/btrfs-ls-trees/main.go
+++ b/cmd/btrfs-ls-trees/main.go
@@ -46,7 +46,7 @@ func Main(imgfilenames ...string) (err error) {
treeErrCnt++
},
TreeWalkHandler: btrfs.TreeWalkHandler{
- Item: func(_ btrfs.TreeWalkPath, item btrfs.Item) error {
+ Item: func(_ btrfs.TreePath, item btrfs.Item) error {
typ := item.Head.Key.ItemType
treeItemCnt[typ] = treeItemCnt[typ] + 1
return nil