summaryrefslogtreecommitdiff
path: root/lib/btrfs/btrfsitem
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-07-12 19:34:42 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-07-12 19:34:42 -0600
commitd250398e68fae70bd765a7f90389b58a4eeb4ee2 (patch)
tree2fb30dabf280ff85d04b46a14e90a4997f768fa3 /lib/btrfs/btrfsitem
parentbba3428e8f034802b4b5ceb772bde1285a65ee50 (diff)
check for bad items
Big indentation change in print_tree.go; small actual change.
Diffstat (limited to 'lib/btrfs/btrfsitem')
-rw-r--r--lib/btrfs/btrfsitem/items.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfs/btrfsitem/items.go b/lib/btrfs/btrfsitem/items.go
index 30980d3..769a0a8 100644
--- a/lib/btrfs/btrfsitem/items.go
+++ b/lib/btrfs/btrfsitem/items.go
@@ -35,7 +35,7 @@ func (o *Error) UnmarshalBinary(dat []byte) (int, error) {
return len(dat), nil
}
-// Rather than returning a separate error value, return an Error item.
+// Rather than returning a separate error value, return an Error item.
func UnmarshalItem(key internal.Key, csumType btrfssum.CSumType, dat []byte) Item {
var gotyp reflect.Type
if key.ItemType == UNTYPED_KEY {