diff options
author | julian <julian@FreeBSD.org> | 1998-06-05 23:33:26 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1998-06-05 23:33:26 +0000 |
commit | 54743b71f3cc99d4a9c8598ba79fa8fb45d20d7c (patch) | |
tree | 6fb4ab71457ce03e796b8c38bea1038917a1768b /sbin | |
parent | 231ebf2d6ff646de62d346a4c426948c14f36499 (diff) | |
download | FreeBSD-src-54743b71f3cc99d4a9c8598ba79fa8fb45d20d7c.zip FreeBSD-src-54743b71f3cc99d4a9c8598ba79fa8fb45d20d7c.tar.gz |
Reviewed by: Kirk Mckusick (mckusick@mckusick.com)
Submitted by: luoqi Chen
fix a type in fsck.
(also add a comment that got picked up by mistake but is worth adding)
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsck/pass5.c | 2 | ||||
-rw-r--r-- | sbin/fsck_ffs/pass5.c | 2 | ||||
-rw-r--r-- | sbin/fsck_ifs/pass5.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck/pass5.c b/sbin/fsck/pass5.c index 873f008..aa37694 100644 --- a/sbin/fsck/pass5.c +++ b/sbin/fsck/pass5.c @@ -332,7 +332,7 @@ pass5() for (k = 0; k < NBBY; k++) { if ((j & (1 << k)) == 0) continue; - if (cg_inosused(cg)[i] & (1 << k)) + if (cg_blksfree(newcg)[i] & (1 << k)) continue; pwarn("ALLOCATED FRAG %d MARKED FREE", c * fs->fs_fpg + i * 8 + k); diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index 873f008..aa37694 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -332,7 +332,7 @@ pass5() for (k = 0; k < NBBY; k++) { if ((j & (1 << k)) == 0) continue; - if (cg_inosused(cg)[i] & (1 << k)) + if (cg_blksfree(newcg)[i] & (1 << k)) continue; pwarn("ALLOCATED FRAG %d MARKED FREE", c * fs->fs_fpg + i * 8 + k); diff --git a/sbin/fsck_ifs/pass5.c b/sbin/fsck_ifs/pass5.c index 873f008..aa37694 100644 --- a/sbin/fsck_ifs/pass5.c +++ b/sbin/fsck_ifs/pass5.c @@ -332,7 +332,7 @@ pass5() for (k = 0; k < NBBY; k++) { if ((j & (1 << k)) == 0) continue; - if (cg_inosused(cg)[i] & (1 << k)) + if (cg_blksfree(newcg)[i] & (1 << k)) continue; pwarn("ALLOCATED FRAG %d MARKED FREE", c * fs->fs_fpg + i * 8 + k); |