summaryrefslogtreecommitdiff
path: root/cmd/btrfs-ls-trees
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-07-01 23:07:21 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-07-01 23:09:19 -0600
commit2202cfba154b69a947ae45629ef8105de7f63ac4 (patch)
treeaf6fbe8c84b59b709bfbbb82d1c14c35ac0e3748 /cmd/btrfs-ls-trees
parentf1bc48ee12c6873b6b57a2403325765e987ad813 (diff)
Rename TreeWalkPath→TreePath
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