Date: Sun, 27 Jan 2019 14:03:38 +0000 (UTC) From: Takahashi Yoshihiro <nyan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r343492 - stable/12/usr.bin/ruptime Message-ID: <201901271403.x0RE3cY9026759@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nyan Date: Sun Jan 27 14:03:38 2019 New Revision: 343492 URL: https://svnweb.freebsd.org/changeset/base/343492 Log: MFC: r342965 Fix indentation in ruptime command output for hosts in the "down" state. PR: 234239 Modified: stable/12/usr.bin/ruptime/ruptime.c Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.bin/ruptime/ruptime.c ============================================================================== --- stable/12/usr.bin/ruptime/ruptime.c Sun Jan 27 13:58:06 2019 (r343491) +++ stable/12/usr.bin/ruptime/ruptime.c Sun Jan 27 14:03:38 2019 (r343492) @@ -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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901271403.x0RE3cY9026759>