1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix build.

MFC after:	2 weeks
X-MFC-With:	r345900
This commit is contained in:
Xin LI 2019-04-05 02:37:10 +00:00
parent d78b6f1ee8
commit d325f3c243
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345901

View File

@ -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;