1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00

fix last checkin

This commit is contained in:
Alasdair Kergon 2007-01-18 21:59:02 +00:00
parent 594a27942b
commit 122337ba0d

View File

@ -782,7 +782,7 @@ int dm_report_output(struct dm_report *rh)
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;