svn commit: r345901 - head/sbin/fsck_msdosfs
Xin LI
delphij at FreeBSD.org
Tue Sep 3 14:06:36 UTC 2019
Author: delphij
Date: Fri Apr 5 02:37:10 2019
New Revision: 345901
URL: https://svnweb.freebsd.org/changeset/base/345901
Log:
Fix build.
MFC after: 2 weeks
X-MFC-With: r345900
Modified:
head/sbin/fsck_msdosfs/dir.c
Modified: head/sbin/fsck_msdosfs/dir.c
==============================================================================
--- head/sbin/fsck_msdosfs/dir.c Fri Apr 5 02:21:16 2019 (r345900)
+++ head/sbin/fsck_msdosfs/dir.c Fri Apr 5 02:37:10 2019 (r345901)
@@ -488,7 +488,7 @@ check_subdirectory(int f, struct bootblock *boot, stru
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;
More information about the svn-src-all
mailing list