summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/check.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2010-06-20 09:40:54 +0000
committerbrian <brian@FreeBSD.org>2010-06-20 09:40:54 +0000
commitf4323232d9473d9b7d302f1a5113254e321b0dd0 (patch)
treeca785311050d789fc6777c8d85b147548a7a5afb /sbin/fsck_msdosfs/check.c
parentf16fb8206ed902d68fd499178f91de0b8d64c8f9 (diff)
downloadFreeBSD-src-f4323232d9473d9b7d302f1a5113254e321b0dd0.zip
FreeBSD-src-f4323232d9473d9b7d302f1a5113254e321b0dd0.tar.gz
Fix some style(9), although there's a lot more issues here.
Fix some casting errors. PR: 142384 Submitted by: giffunip at tutopia dot com Obtained from: NetBSD MFC after: 3 weeks
Diffstat (limited to 'sbin/fsck_msdosfs/check.c')
-rw-r--r--sbin/fsck_msdosfs/check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_msdosfs/check.c b/sbin/fsck_msdosfs/check.c
index a762f8a..2f558bd 100644
--- a/sbin/fsck_msdosfs/check.c
+++ b/sbin/fsck_msdosfs/check.c
@@ -98,7 +98,7 @@ checkfilesys(const char *fname)
}
if (boot.ValidFat < 0)
- for (i = 1; i < (int)boot.bpbFATs; i++) {
+ for (i = 1; i < boot.bpbFATs; i++) {
struct fatEntry *currentFat;
mod |= readfat(dosfs, &boot, i, &currentFat);
OpenPOWER on IntegriCloud