Skip to content

Commit

Permalink
fix typo on fat32 tables error message
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Deitcher <[email protected]>
  • Loading branch information
deitch committed Jun 12, 2024
1 parent db32762 commit eee0048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filesystem/fat32/fat32.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ func Read(file util.File, size, start, blocksize int64) (*FileSystem, error) {
_, _ = file.ReadAt(b, int64(fatSecondaryStart)+start)
fat2 := tableFromBytes(b)
if !fat.equal(fat2) {
return nil, errors.New("fat tables did not much")
return nil, errors.New("fat tables did not match")
}
dataStart := uint32(fatSecondaryStart) + fat.size

Expand Down

0 comments on commit eee0048

Please sign in to comment.