1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

No longer necessary to specify alignment for report fields.

This commit is contained in:
Alasdair Kergon 2007-01-18 17:48:29 +00:00
parent 03c6979264
commit 594a27942b
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.20 -
===================================
No longer necessary to specify alignment for report fields.
Version 2.02.19 - 17th January 2007
===================================

View File

@ -866,8 +866,8 @@ static const struct dm_report_object_type _report_types[] = {
* Import column definitions
*/
#define STR (DM_REPORT_FIELD_STRING | DM_REPORT_FIELD_ALIGN_LEFT)
#define NUM (DM_REPORT_FIELD_NUMBER | DM_REPORT_FIELD_ALIGN_RIGHT)
#define STR DM_REPORT_FIELD_TYPE_STRING
#define NUM DM_REPORT_FIELD_TYPE_NUMBER
#define FIELD(type, strct, sorttype, head, field, width, func, id) {type, id, (off_t)((void *)&_dummy._ ## strct.field - (void *)&_dummy._ ## strct), head, width, sorttype, &_ ## func ## _disp},
static struct dm_report_field_type _fields[] = {