top: some miscellaneous accumulated tweaks and cleanup
I've grown to hate that man document rendering when it comes to hyphenation. So this patch will eliminate it. And we'll also eliminate an unnecessary initialization in that top program code concerned with combined cpus. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
8b4228fe71
commit
38537f79c7
@ -64,6 +64,7 @@
|
|||||||
.\" ----------------------------------------------------------------------
|
.\" ----------------------------------------------------------------------
|
||||||
.TH TOP 1 "May 2020" "procps-ng" "User Commands"
|
.TH TOP 1 "May 2020" "procps-ng" "User Commands"
|
||||||
.\" ----------------------------------------------------------------------
|
.\" ----------------------------------------------------------------------
|
||||||
|
.nh
|
||||||
|
|
||||||
.\" ----------------------------------------------------------------------
|
.\" ----------------------------------------------------------------------
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
@ -5422,7 +5422,7 @@ static int cpu_unify (struct stat_stack *this, int nobuf) {
|
|||||||
snprintf(pfx, sizeof(pfx), "%-7.7s:", fmtmk("%d-%d", beg, rSv(stat_ID, s_int)));
|
snprintf(pfx, sizeof(pfx), "%-7.7s:", fmtmk("%d-%d", beg, rSv(stat_ID, s_int)));
|
||||||
n = cpu_tics(&accum, pfx, nobuf);
|
n = cpu_tics(&accum, pfx, nobuf);
|
||||||
memset(&stack, 0, sizeof(stack));
|
memset(&stack, 0, sizeof(stack));
|
||||||
ix = beg = 0;
|
ix = 0;
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
++ix;
|
++ix;
|
||||||
|
Loading…
Reference in New Issue
Block a user