diff options
Diffstat (limited to 'sbin/fsck_ffs/pass5.c')
-rw-r--r-- | sbin/fsck_ffs/pass5.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index 6dbde11..a2e7587 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -157,6 +157,11 @@ pass5(void) c * 100 / sblock.fs_ncg); got_siginfo = 0; } + if (got_sigalarm) { + setproctitle("%s p5 %d%%\n", cdevname, + c * 100 / sblock.fs_ncg); + got_sigalarm = 0; + } getblk(&cgblk, cgtod(fs, c), fs->fs_cgsize); if (!cg_chkmagic(cg)) pfatal("CG %d: BAD MAGIC NUMBER\n", c); |