Fix indentation in ruptime command output for hosts in the "down" state.
PR: 234239 MFC after: 1 week
This commit is contained in:
parent
1b85c4178e
commit
baf8fdf5d0
@ -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