Date: Fri, 5 Apr 2019 02:37:10 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r345901 - head/sbin/fsck_msdosfs Message-ID: <201904050237.x352bAtq025127@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904050237.x352bAtq025127>