From owner-svn-src-head@freebsd.org Sat May 26 05:15:08 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA729EFE498; Sat, 26 May 2018 05:15:08 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5750882CC6; Sat, 26 May 2018 05:15:08 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3367B33E2; Sat, 26 May 2018 05:15:08 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4Q5F86S035726; Sat, 26 May 2018 05:15:08 GMT (envelope-from eadler@FreeBSD.org) Received: (from eadler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4Q5F8mQ035725; Sat, 26 May 2018 05:15:08 GMT (envelope-from eadler@FreeBSD.org) Message-Id: <201805260515.w4Q5F8mQ035725@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eadler set sender to eadler@FreeBSD.org using -f From: Eitan Adler Date: Sat, 26 May 2018 05:15:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334236 - head/sbin/kldstat X-SVN-Group: head X-SVN-Commit-Author: eadler X-SVN-Commit-Paths: head/sbin/kldstat X-SVN-Commit-Revision: 334236 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2018 05:15:08 -0000 Author: eadler Date: Sat May 26 05:15:07 2018 New Revision: 334236 URL: https://svnweb.freebsd.org/changeset/base/334236 Log: kldstat: align "Size" to the right This change also makes alignment and spacing an explicit number rather than a bunch of spaces. Reviewed by: mmacy Requested by: Yuri Pankov Modified: head/sbin/kldstat/kldstat.c Modified: head/sbin/kldstat/kldstat.c ============================================================================== --- head/sbin/kldstat/kldstat.c Sat May 26 04:33:19 2018 (r334235) +++ head/sbin/kldstat/kldstat.c Sat May 26 05:15:07 2018 (r334236) @@ -190,9 +190,9 @@ main(int argc, char** argv) } if (humanized) - printf("Id Refs Address%*c Size Name\n", POINTER_WIDTH - 7, ' '); + printf("Id Refs Address%*c %5s Name\n", POINTER_WIDTH - 7, ' ', "Size"); else - printf("Id Refs Address%*c Size Name\n", POINTER_WIDTH - 7, ' '); + printf("Id Refs Address%*c %8s Name\n", POINTER_WIDTH - 7, ' ', "Size"); if (fileid != 0) printfile(fileid, verbose, humanized); else