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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"