summaryrefslogtreecommitdiffstats
path: root/libdm/libdm-report.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2007-01-29 17:23:54 +0000
committerAlasdair Kergon <agk@redhat.com>2007-01-29 17:23:54 +0000
commit9f069f7befe73ec5ec627eb22bf81afdf0e26ad9 (patch)
tree210534e6b09853b6ca33ff2c1db154ea38151f4e /libdm/libdm-report.c
parent4bbfe1cf5bd0b8412827bc8fec202aa7075dab71 (diff)
downloadlvm2-9f069f7befe73ec5ec627eb22bf81afdf0e26ad9.tar.gz
lvm2-9f069f7befe73ec5ec627eb22bf81afdf0e26ad9.tar.xz
lvm2-9f069f7befe73ec5ec627eb22bf81afdf0e26ad9.zip
Use fixed-size fields in report interface.
Diffstat (limited to 'libdm/libdm-report.c')
-rw-r--r--libdm/libdm-report.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c
index 9e4002c0..ebdda8f0 100644
--- a/libdm/libdm-report.c
+++ b/libdm/libdm-report.c
@@ -60,7 +60,7 @@ struct field_properties {
struct list list;
uint32_t field_num;
uint32_t sort_posn;
- unsigned width;
+ int32_t width;
const struct dm_report_object_type *type;
uint32_t flags;
};
@@ -750,7 +750,7 @@ int dm_report_output(struct dm_report *rh)
struct dm_report_field *field;
const char *repstr;
char buf[4096];
- unsigned width;
+ int32_t width;
uint32_t align;
if (list_empty(&rh->rows))