Fix indentation in ruptime command output for hosts in the "down" state.

PR:		234239
MFC after:	1 week
This commit is contained in:
Yoshihiro Takahashi 2019-01-12 12:57:32 +00:00
parent 1da80a2c75
commit 31afdd6f10

View File

@ -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;