From owner-svn-src-head@freebsd.org Wed May 23 12:14:23 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 3C6E5EFC3D1 for ; Wed, 23 May 2018 12:14:23 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8C97C681F1; Wed, 23 May 2018 12:14:22 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 375A920D83; Wed, 23 May 2018 08:14:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 23 May 2018 08:14:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=cSpSev5a12jXElssGVtmP2pPAltdS 75cJObvFoIBKbQ=; b=r13XC2BjW9fplOwgHcc7QLoUMCqIMM1Ex01eUBXlvpgMO zqZLym5jsYsaeILuz1VtHIOsn/YaDVnlmEYFctgIqLxRXolxu1h2joLaRLrCyXYA 86xv9keG0l84KXNIyrgVIlEcW+7qzmLv3O4w6ZZ9uqhTIPVLpo8c95UEaBxkTcef /HEvYC1LWhGQFhodVo5wZw1LLhOF4PtDyoa4Ma3PGiVAvBwZxrGLBHUx+4R2fsn2 m3lB97N3EiPp7lJ3MIZbnieopZiDIK62b2DBsAX5/dD0Ty1st1Vaj/WreL+Knw/Y ysQ9bI422TfRXWbMeWmN/7TKz961HkHV8F0TeLPcg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=cSpSev 5a12jXElssGVtmP2pPAltdS75cJObvFoIBKbQ=; b=WIkwPNdaEdvmTZqZHxAAwe xtvJ595HLQ/40DYnZdzchW/tN0vCScT3YbxVdVr/sDtB9CbSzUZqPeSpPMFPMaAk fUpHoNz5RlqZDxi3rqUXU7R+Em95QR17mq1WYjzvCcl4Axo1gQYrj3gHcIOUUGEH bH4OO4T0/+7dZLOAT0ld7O19NvvARBMGY+gpfm0SUxKaC+jMUJEZaWFmqkjb44V3 pUgMWhMjdwEiKRS78UU4IgYld7Vpd5aUC4eyHx7J84pdt//EoOwaVmJ7CaEljDip wj2dTHCXcQLc+7R5kUSz62fmHbM6kMhzyV50QcOUNKTy46dnZfLJxuYwTf/fQQnw == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.2] (unknown [94.233.224.193]) by mail.messagingengine.com (Postfix) with ESMTPA id AA340E442F; Wed, 23 May 2018 08:14:20 -0400 (EDT) Subject: Re: svn commit: r334093 - head/sbin/kldstat To: Eitan Adler , svn-src-head@freebsd.org References: <201805231210.w4NCAGTU099742@repo.freebsd.org> From: Yuri Pankov Message-ID: <4fc0d605-106a-d1b1-d97c-3e9b866baea5@yuripv.net> Date: Wed, 23 May 2018 15:14:20 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <201805231210.w4NCAGTU099742@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Wed, 23 May 2018 12:14:23 -0000 Eitan Adler wrote: > Author: eadler > Date: Wed May 23 12:10:16 2018 > New Revision: 334093 > URL: https://svnweb.freebsd.org/changeset/base/334093 > > Log: > kldstat: align size to the right You should make the "Size" in header right-aligned as well then. > This makes it easier to compare numbers directly. > > PR: 215747 > Submitted by: "Alexander von Gernler" > > Modified: > head/sbin/kldstat/kldstat.c > > Modified: head/sbin/kldstat/kldstat.c > ============================================================================== > --- head/sbin/kldstat/kldstat.c Wed May 23 11:59:29 2018 (r334092) > +++ head/sbin/kldstat/kldstat.c Wed May 23 12:10:16 2018 (r334093) > @@ -80,7 +80,7 @@ printfile(int fileid, int verbose, int humanized) > printf("%2d %4d %p %5s %s", > stat.id, stat.refs, stat.address, buf, stat.name); > } else { > - printf("%2d %4d %p %-8zx %s", > + printf("%2d %4d %p %8zx %s", > stat.id, stat.refs, stat.address, stat.size, stat.name); > } > }