svn commit: r219416 - head/sbin/geom/class/part

Andrey V. Elsukov ae at FreeBSD.org
Tue Mar 8 22:01:47 UTC 2011


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;


More information about the svn-src-head mailing list