From: Karel Zak Date: Wed, 4 Mar 2020 13:17:27 +0000 (+0100) Subject: iqrtop: cleanup header X-Git-Tag: v2.36-rc1~196^2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f99d9d61367ca5856073b5e5db0f191c0de7b1e;p=thirdparty%2Futil-linux.git iqrtop: cleanup header * add '|' to make it more readable * use time string without 'T' Signed-off-by: Karel Zak --- diff --git a/sys-utils/irqtop.c b/sys-utils/irqtop.c index c009049cc5..a9cff2c1a0 100644 --- a/sys-utils/irqtop.c +++ b/sys-utils/irqtop.c @@ -518,8 +518,8 @@ static int update_screen(struct irqtop_ctl *const ctl) move(0, 0); if (!ctl->json) { now = time(NULL); - strtime_iso(&now, ISO_TIMESTAMP_T, timestr, sizeof(timestr)); - print_line(ctl, _("irqtop - total: %ld delta: %ld host: %s time: %s\n\n"), + strtime_iso(&now, ISO_TIMESTAMP, timestr, sizeof(timestr)); + print_line(ctl, _("irqtop | total: %ld delta: %ld | %s | %s\n\n"), stat->total_irq, stat->delta_irq, ctl->hostname, timestr); } /* body */