[dm-devel] device-mapper/lib libdm-report.c

agk at sourceware.org agk at sourceware.org
Thu Jan 18 21:59:02 UTC 2007


CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	agk at sourceware.org	2007-01-18 21:59:02

Modified files:
	lib            : libdm-report.c 

Log message:
	fix last checkin

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-report.c.diff?cvsroot=dm&r1=1.3&r2=1.4

--- device-mapper/lib/libdm-report.c	2007/01/18 17:47:58	1.3
+++ device-mapper/lib/libdm-report.c	2007/01/18 21:59:02	1.4
@@ -782,7 +782,7 @@
 						goto bad_snprintf;
 					if (!dm_pool_grow_object(rh->mem, buf, width))
 						goto bad_grow;
-				} else if (field->props->flags & DM_REPORT_FIELD_ALIGN_RIGHT) {
+				} else if (align & DM_REPORT_FIELD_ALIGN_RIGHT) {
 					if (dm_snprintf(buf, sizeof(buf), "%*.*s",
 							 width, width, repstr) < 0)
 						goto bad_snprintf;




More information about the dm-devel mailing list