summaryrefslogtreecommitdiff
path: root/cmd/btrfs-rec/inspect_spewitems.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 22:41:34 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-01 22:42:26 -0700
commit6e1a9fbb1e9a943e04902ed3a4958f6821e39456 (patch)
tree4f2afbce761eb377ad0b0ab2e4fb2f478ff844f5 /cmd/btrfs-rec/inspect_spewitems.go
parent5b4d97f34c4fec6268c46ceb951f3a2d85492bd6 (diff)
lint: Set exclude-use-default=false
Diffstat (limited to 'cmd/btrfs-rec/inspect_spewitems.go')
-rw-r--r--cmd/btrfs-rec/inspect_spewitems.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/btrfs-rec/inspect_spewitems.go b/cmd/btrfs-rec/inspect_spewitems.go
index 8d71797..3b79e8b 100644
--- a/cmd/btrfs-rec/inspect_spewitems.go
+++ b/cmd/btrfs-rec/inspect_spewitems.go
@@ -1,4 +1,4 @@
-// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com>
+// Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com>
//
// SPDX-License-Identifier: GPL-2.0-or-later
@@ -39,13 +39,13 @@ func init() {
Item: func(path btrfstree.TreePath, item btrfstree.Item) error {
textui.Fprintf(os.Stdout, "%s = ", path)
spew.Dump(item)
- os.Stdout.WriteString("\n")
+ _, _ = os.Stdout.WriteString("\n")
return nil
},
BadItem: func(path btrfstree.TreePath, item btrfstree.Item) error {
textui.Fprintf(os.Stdout, "%s = ", path)
spew.Dump(item)
- os.Stdout.WriteString("\n")
+ _, _ = os.Stdout.WriteString("\n")
return nil
},
},