Fix indentation in ruptime command output for hosts in the "down" state.
PR: 234239 MFC after: 1 week
This commit is contained in:
parent
1da80a2c75
commit
31afdd6f10
@ -264,7 +264,7 @@ ruptime(const char *host, int aflg, int (*cmp)(const void *, const void *))
|
||||
hsp = &hs[i];
|
||||
wd = &hsp->hs_wd;
|
||||
if (ISDOWN(hsp)) {
|
||||
(void)printf("%-*.*s%s\n",
|
||||
(void)printf("%-*.*s %s\n",
|
||||
hostnamewidth, hostnamewidth, wd->wd_hostname,
|
||||
interval(now - hsp->hs_wd.wd_recvtime, "down"));
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user