summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/pass1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fsck_ffs/pass1.c')
-rw-r--r--sbin/fsck_ffs/pass1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c
index 341d027..258aeee 100644
--- a/sbin/fsck_ffs/pass1.c
+++ b/sbin/fsck_ffs/pass1.c
@@ -107,6 +107,11 @@ pass1(void)
c * 100 / sblock.fs_ncg);
got_siginfo = 0;
}
+ if (got_sigalarm) {
+ setproctitle("%s p1 %d%%", cdevname,
+ c * 100 / sblock.fs_ncg);
+ got_sigalarm = 0;
+ }
/*
* If we are using soft updates, then we can trust the
* cylinder group inode allocation maps to tell us which
OpenPOWER on IntegriCloud