svn commit: r342965 - head/usr.bin/ruptime
Takahashi Yoshihiro
nyan at FreeBSD.org
Sat Jan 12 12:57:33 UTC 2019
Author: nyan
Date: Sat Jan 12 12:57:32 2019
New Revision: 342965
URL: https://svnweb.freebsd.org/changeset/base/342965
Log:
Fix indentation in ruptime command output for hosts in the "down" state.
PR: 234239
MFC after: 1 week
Modified:
head/usr.bin/ruptime/ruptime.c
Modified: head/usr.bin/ruptime/ruptime.c
==============================================================================
--- head/usr.bin/ruptime/ruptime.c Sat Jan 12 12:35:02 2019 (r342964)
+++ head/usr.bin/ruptime/ruptime.c Sat Jan 12 12:57:32 2019 (r342965)
@@ -264,7 +264,7 @@ ruptime(const char *host, int aflg, int (*cmp)(const v
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;
More information about the svn-src-all
mailing list