diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 16:46:34 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 16:46:34 -0600 |
commit | 74b109b0a75ae6648f9381252d8beb5ce6025df3 (patch) | |
tree | 64b8b2250c67f749566761bab56676bed9c33846 /cmd/btrfs-dbg | |
parent | e134a9fbd0d8ae43e2d24c5aabad8bf6a16190ed (diff) |
factor out a btrfsmisc pacage
Diffstat (limited to 'cmd/btrfs-dbg')
-rw-r--r-- | cmd/btrfs-dbg/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/btrfs-dbg/main.go b/cmd/btrfs-dbg/main.go index 1b3b993..d50b44c 100644 --- a/cmd/btrfs-dbg/main.go +++ b/cmd/btrfs-dbg/main.go @@ -7,6 +7,7 @@ import ( "github.com/davecgh/go-spew/spew" "lukeshu.com/btrfs-tools/pkg/btrfs" + "lukeshu.com/btrfs-tools/pkg/btrfsmisc" ) func main() { @@ -59,7 +60,7 @@ func Main(imgfilename string) (err error) { } spew.Dump(syschunks) - if err := btrfs.ScanForNodes(fs.Devices[0], superblocks[0].Data); err != nil { + if err := btrfsmisc.ScanForNodes(fs.Devices[0], superblocks[0].Data); err != nil { return err } |