summaryrefslogtreecommitdiffstats
path: root/libdm/libdm-report.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2007-01-23 23:58:55 +0000
committerAlasdair Kergon <agk@redhat.com>2007-01-23 23:58:55 +0000
commit66ed1bc5e1307904af318317c6af28a43a780c9e (patch)
treeac1a29e4b1ecd2c048054f9af34641779f5433db /libdm/libdm-report.c
parent85feafd996ab039f6eecf9177aa61a6a3c04fc65 (diff)
downloadlvm2-66ed1bc5e1307904af318317c6af28a43a780c9e.tar.gz
lvm2-66ed1bc5e1307904af318317c6af28a43a780c9e.tar.xz
lvm2-66ed1bc5e1307904af318317c6af28a43a780c9e.zip
fix earlier checkin
Diffstat (limited to 'libdm/libdm-report.c')
-rw-r--r--libdm/libdm-report.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c
index 627c5124..f3a4c8b6 100644
--- a/libdm/libdm-report.c
+++ b/libdm/libdm-report.c
@@ -799,9 +799,10 @@ int dm_report_output(struct dm_report *rh)
log_error("dm_report: right-aligned snprintf() failed");
goto bad;
}
- if (!dm_pool_grow_object(rh->mem, buf, width))
+ if (!dm_pool_grow_object(rh->mem, buf, width)) {
log_error("dm_report: Unable to extend output line");
goto bad;
+ }
}
}