diff options
Diffstat (limited to 'sbin/fsck_ffs/pass1.c')
-rw-r--r-- | sbin/fsck_ffs/pass1.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c index 0114c5e..2e34a96 100644 --- a/sbin/fsck_ffs/pass1.c +++ b/sbin/fsck_ffs/pass1.c @@ -42,8 +42,6 @@ static const char sccsid[] = "@(#)pass1.c 8.6 (Berkeley) 4/28/95"; #include <ufs/ufs/dir.h> #include <ufs/ffs/fs.h> -#include <stdio.h> -#include <stdlib.h> #include <err.h> #include <string.h> @@ -168,7 +166,8 @@ checkinode(inumber, idesc) * Fake ndb value so direct/indirect block checks below * will detect any garbage after symlink string. */ - if ((dp->di_size < sblock.fs_maxsymlinklen) || dp->di_blocks == 0) { + if (dp->di_size < sblock.fs_maxsymlinklen || + dp->di_blocks == 0) { ndb = howmany(dp->di_size, sizeof(ufs_daddr_t)); if (ndb > NDADDR) { j = ndb - NDADDR; |