From 31afdd6f10d2777504e2ababce94ebe5a280652b Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Sat, 12 Jan 2019 12:57:32 +0000 Subject: [PATCH] Fix indentation in ruptime command output for hosts in the "down" state. PR: 234239 MFC after: 1 week --- usr.bin/ruptime/ruptime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/ruptime/ruptime.c b/usr.bin/ruptime/ruptime.c index b6ee0b941982..9d16c3efa49b 100644 --- a/usr.bin/ruptime/ruptime.c +++ b/usr.bin/ruptime/ruptime.c @@ -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;