[dm-devel] multipath-tools/libmultipath print.c

wysochanski at sourceware.org wysochanski at sourceware.org
Wed Jul 9 20:11:39 UTC 2008


CVSROOT:	/cvs/dm
Module name:	multipath-tools
Branch: 	RHEL5_FC6
Changes by:	wysochanski at sourceware.org	2008-07-09 20:11:37

Modified files:
	libmultipath   : print.c 

Log message:
	Resolves rhbz#442000.  Fix whitespace in multipath -ll output.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/libmultipath/print.c.diff?cvsroot=dm&only_with_tag=RHEL5_FC6&r1=1.5.2.1&r2=1.5.2.2

--- multipath-tools/libmultipath/print.c	2007/01/10 20:08:08	1.5.2.1
+++ multipath-tools/libmultipath/print.c	2008/07/09 20:11:33	1.5.2.2
@@ -679,9 +679,9 @@
 	c += sprintf(c, "%%n");
 	
 	if (strncmp(mpp->alias, mpp->wwid, WWID_SIZE))
-		c += sprintf(c, " (%%w) ");
+		c += sprintf(c, " (%%w)");
 
-	c += sprintf(c, "%%d ");
+	c += sprintf(c, " %%d ");
 	c += snprint_vpr(c, 24, first_path(mpp));
 
 	fwd += snprint_multipath(buff + fwd, len - fwd, style, mpp);




More information about the dm-devel mailing list