Fix build.
MFC after: 2 weeks X-MFC-With: r345900
This commit is contained in:
parent
d78b6f1ee8
commit
d325f3c243
@ -488,7 +488,7 @@ check_subdirectory(int f, struct bootblock *boot, struct dosDirEntry *dir)
|
||||
|
||||
off *= boot->bpbBytesPerSec;
|
||||
if (lseek(f, off, SEEK_SET) != off ||
|
||||
read(f, buf, boot->bpbBytesPerSec) != boot->bpbBytesPerSec) {
|
||||
read(f, buf, boot->bpbBytesPerSec) != (ssize_t)boot->bpbBytesPerSec) {
|
||||
perr("Unable to read directory");
|
||||
free(buf);
|
||||
return FSFATAL;
|
||||
|
Loading…
Reference in New Issue
Block a user