Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Mar 2011 22:01:47 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r219416 - head/sbin/geom/class/part
Message-ID:  <201103082201.p28M1llT088278@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Tue Mar  8 22:01:47 2011
New Revision: 219416
URL: http://svn.freebsd.org/changeset/base/219416

Log:
  It is better to sometimes have not aligned columns than
  often have wrapped lines.
  
  MFC after:	2 weeks

Modified:
  head/sbin/geom/class/part/geom_part.c

Modified: head/sbin/geom/class/part/geom_part.c
==============================================================================
--- head/sbin/geom/class/part/geom_part.c	Tue Mar  8 21:36:42 2011	(r219415)
+++ head/sbin/geom/class/part/geom_part.c	Tue Mar  8 22:01:47 2011	(r219416)
@@ -568,12 +568,6 @@ gpart_show_geom(struct ggeom *gp, const 
 			if (wname > wmax)
 				wmax = wname;
 		}
-	} else {
-		/* In some cases width of index can be greater than
-		 * length of provider's name.
-		 */
-		if (wblocks > wmax)
-			wmax = wblocks;
 	}
 	wname = wmax;
 	pp = LIST_FIRST(&gp->lg_consumer)->lg_provider;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103082201.p28M1llT088278>