summaryrefslogtreecommitdiffstats
path: root/sbin/dumplfs/dumplfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dumplfs/dumplfs.c')
-rw-r--r--sbin/dumplfs/dumplfs.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sbin/dumplfs/dumplfs.c b/sbin/dumplfs/dumplfs.c
index 943c6cd..5badb52 100644
--- a/sbin/dumplfs/dumplfs.c
+++ b/sbin/dumplfs/dumplfs.c
@@ -221,10 +221,10 @@ dump_ifile(fd, lfsp, do_ientries)
dump_cleaner_info(lfsp, ipage);
print_suheader;
continue;
- }
+ }
if (i < (lfsp->lfs_segtabsz + lfsp->lfs_cleansz)) {
- inum = dump_ipage_segusage(lfsp, inum, ipage,
+ inum = dump_ipage_segusage(lfsp, inum, ipage,
lfsp->lfs_sepb);
if (!inum)
if(!do_ientries)
@@ -251,11 +251,11 @@ dump_ifile(fd, lfsp, do_ientries)
if (i < lfsp->lfs_cleansz) {
dump_cleaner_info(lfsp, ipage);
continue;
- } else
+ } else
i -= lfsp->lfs_cleansz;
if (i < lfsp->lfs_segtabsz) {
- inum = dump_ipage_segusage(lfsp, inum, ipage,
+ inum = dump_ipage_segusage(lfsp, inum, ipage,
lfsp->lfs_sepb);
if (!inum)
if(!do_ientries)
@@ -285,7 +285,7 @@ dump_ifile(fd, lfsp, do_ientries)
if (i < lfsp->lfs_cleansz) {
dump_cleaner_info(lfsp, ipage);
continue;
- } else
+ } else
i -= lfsp->lfs_cleansz;
if (i < lfsp->lfs_segtabsz) {
@@ -385,7 +385,7 @@ dump_sum(fd, lfsp, sp, segnum, addr)
int numblocks;
struct dinode *inop;
- if (sp->ss_sumsum != (ck = cksum(&sp->ss_datasum,
+ if (sp->ss_sumsum != (ck = cksum(&sp->ss_datasum,
LFS_SUMMARY_SIZE - sizeof(sp->ss_sumsum)))) {
(void)printf("dumplfs: %s %d address 0x%lx\n",
"corrupt summary block; segment", segnum, addr);
@@ -410,10 +410,10 @@ dump_sum(fd, lfsp, sp, segnum, addr)
printf(" Inode addresses:");
for (dp--, i = 0; i < sp->ss_ninos; dp--) {
printf("\t0x%X {", *dp);
- get(fd, *dp << (lfsp->lfs_bshift - lfsp->lfs_fsbtodb), inop,
+ get(fd, *dp << (lfsp->lfs_bshift - lfsp->lfs_fsbtodb), inop,
(1 << lfsp->lfs_bshift));
for (j = 0; i < sp->ss_ninos && j < INOPB(lfsp); j++, i++) {
- if (j > 0)
+ if (j > 0)
(void)printf(", ");
(void)printf("%d", inop[j].di_inumber);
}
@@ -463,7 +463,7 @@ dump_segment(fd, segnum, addr, lfsp, dump_sb)
do {
get(fd, sum_offset, sumblock, LFS_SUMMARY_SIZE);
sump = (SEGSUM *)sumblock;
- if (sump->ss_sumsum != cksum (&sump->ss_datasum,
+ if (sump->ss_sumsum != cksum (&sump->ss_datasum,
LFS_SUMMARY_SIZE - sizeof(sump->ss_sumsum))) {
sbp = (struct lfs *)sump;
if (sb = (sbp->lfs_magic == LFS_MAGIC)) {
@@ -479,7 +479,7 @@ dump_segment(fd, segnum, addr, lfsp, dump_sb)
nblocks = dump_sum(fd, lfsp, sump, segnum, sum_offset >>
(lfsp->lfs_bshift - lfsp->lfs_fsbtodb));
if (nblocks)
- sum_offset += LFS_SUMMARY_SIZE +
+ sum_offset += LFS_SUMMARY_SIZE +
(nblocks << lfsp->lfs_bshift);
else
sum_offset = 0;
OpenPOWER on IntegriCloud