diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2002-06-26 16:40:25 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2002-06-26 16:40:25 +0000 |
| commit | 6a26192ada39d128ef1650d35cc1e80e62374bb5 (patch) | |
| tree | 1f392fbf22b7768b0b10b12ba00d52c5338d92e9 /sbin | |
| parent | 57d14ec550feef1d04216ca888476f0f60b03e4d (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/fsck_ffs/pass1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c index 10f03eb26983..656215508d9a 100644 --- a/sbin/fsck_ffs/pass1.c +++ b/sbin/fsck_ffs/pass1.c @@ -276,7 +276,7 @@ checkinode(ino_t inumber, struct inodesc *idesc) } } } - for (j = ndb; j < NDADDR; j++) + for (j = ndb; ndb < NDADDR && j < NDADDR; j++) if (DIP(dp, di_db[j]) != 0) { if (debug) printf("bad direct addr[%d]: %qu\n", j, |
