From owner-svn-src-stable-8@FreeBSD.ORG Thu Oct 14 02:10:49 2010 Return-Path: Delivered-To: svn-src-stable-8@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0E78106564A; Thu, 14 Oct 2010 02:10:49 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8F3BC8FC1C; Thu, 14 Oct 2010 02:10:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9E2AnjV009198; Thu, 14 Oct 2010 02:10:49 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9E2AnHa009196; Thu, 14 Oct 2010 02:10:49 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <201010140210.o9E2AnHa009196@svn.freebsd.org> From: "David E. O'Brien" Date: Thu, 14 Oct 2010 02:10:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r213825 - stable/8/usr.bin/ruptime X-BeenThere: svn-src-stable-8@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 8-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2010 02:10:49 -0000 Author: obrien Date: Thu Oct 14 02:10:49 2010 New Revision: 213825 URL: http://svn.freebsd.org/changeset/base/213825 Log: MFC r212771: Increase the hostname display width to >12 characters. Modified: stable/8/usr.bin/ruptime/ruptime.c Directory Properties: stable/8/usr.bin/ruptime/ (props changed) Modified: stable/8/usr.bin/ruptime/ruptime.c ============================================================================== --- stable/8/usr.bin/ruptime/ruptime.c Thu Oct 14 02:02:55 2010 (r213824) +++ stable/8/usr.bin/ruptime/ruptime.c Thu Oct 14 02:10:49 2010 (r213825) @@ -244,12 +244,12 @@ ruptime(const char *host, int aflg, int for (i = 0; i < (int)nhosts; i++) { hsp = &hs[i]; if (ISDOWN(hsp)) { - (void)printf("%-12.12s%s\n", hsp->hs_wd->wd_hostname, + (void)printf("%-25.25s%s\n", hsp->hs_wd->wd_hostname, interval(now - hsp->hs_wd->wd_recvtime, "down")); continue; } (void)printf( - "%-12.12s%s, %4d user%s load %*.2f, %*.2f, %*.2f\n", + "%-25.25s%s, %4d user%s load %*.2f, %*.2f, %*.2f\n", hsp->hs_wd->wd_hostname, interval((time_t)hsp->hs_wd->wd_sendtime - (time_t)hsp->hs_wd->wd_boottime, " up"),