Skip to contentSkip to conversation

device-mapper/lib libdm-report.c

PATCH [email protected] 1 participant 1 message Jan 18, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 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

lib/libdm-report.c +1 -1
@@ -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;