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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"