diff options
Diffstat (limited to 'sbin/fsck_ffs/pass2.c')
-rw-r--r-- | sbin/fsck_ffs/pass2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/pass2.c b/sbin/fsck_ffs/pass2.c index 088ecff..cbd5d9f 100644 --- a/sbin/fsck_ffs/pass2.c +++ b/sbin/fsck_ffs/pass2.c @@ -134,6 +134,12 @@ pass2() dp = &dino; inpend = &inpsort[inplast]; for (inpp = inpsort; inpp < inpend; inpp++) { + if (got_siginfo) { + printf("%s: phase 2: dir %d of %d (%d%%)\n", cdevname, + inpp - inpsort, inplast, (inpp - inpsort) * 100 / + inplast); + got_siginfo = 0; + } inp = *inpp; if (inp->i_isize == 0) continue; |