summaryrefslogtreecommitdiff
path: root/cmd/btrfs-rec/inspect_spewitems.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/btrfs-rec/inspect_spewitems.go')
-rw-r--r--cmd/btrfs-rec/inspect_spewitems.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-rec/inspect_spewitems.go b/cmd/btrfs-rec/inspect_spewitems.go
index 94d34d9..40a929f 100644
--- a/cmd/btrfs-rec/inspect_spewitems.go
+++ b/cmd/btrfs-rec/inspect_spewitems.go
@@ -24,7 +24,7 @@ func init() {
Use: "spew-items",
Short: "Spew all items as parsed",
Args: cliutil.WrapPositionalArgs(cobra.NoArgs),
- RunE: runWithRawFS(func(fs *btrfs.FS, cmd *cobra.Command, _ []string) error {
+ RunE: runWithReadableFS(func(fs btrfs.ReadableFS, cmd *cobra.Command, _ []string) error {
ctx := cmd.Context()
spew := spew.NewDefaultConfig()