Skip to content

Commit

Permalink
Merge pull request #227 from diskfs/fix-fat-tables-error-message
Browse files Browse the repository at this point in the history
fix typo on fat32 tables error message
  • Loading branch information
deitch authored Jun 12, 2024
2 parents db32762 + eee0048 commit 8c053c7
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 8c053c7

Please sign in to comment.