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