mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fixed minumum path width
This commit is contained in:
parent
f1a671abbb
commit
48fbe1d784
1 changed files with 2 additions and 2 deletions
|
@ -377,12 +377,12 @@ int hook_stats(struct path *p, struct hook *h, int when)
|
|||
char *buf = path_print(p);
|
||||
|
||||
if (p->received > 1)
|
||||
stats("%-.40s|%10.2g|%10.2f|%10u|%10u|%10u|%10u|%10u|%10u|%10u|", buf,
|
||||
stats("%-40.40s|%10.2g|%10.2f|%10u|%10u|%10u|%10u|%10u|%10u|%10u|", buf,
|
||||
p->hist_owd.last, 1 / p->hist_gap_msg.last,
|
||||
p->sent, p->received, p->dropped, p->skipped, p->invalid, p->overrun, list_length(p->current)
|
||||
);
|
||||
else
|
||||
stats("%-.40s|%10s|%10s|%10u|%10u|%10u|%10u|%10u|%10u|%10s|", buf, "", "",
|
||||
stats("%-40.40s|%10s|%10s|%10u|%10u|%10u|%10u|%10u|%10u|%10s|", buf, "", "",
|
||||
p->sent, p->received, p->dropped, p->skipped, p->invalid, p->overrun, ""
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue