diff --git a/WHATS_NEW b/WHATS_NEW index 56bbe5f16..6a3c89431 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.66 - =============================== + If unable to obtain snapshot percentage leave value blank on reports. Add install_system_dirs and install_initscripts makefile targets. Add configure options for system and locking directories. Generate example.conf so default lvm.conf contents can be configured. diff --git a/lib/report/report.c b/lib/report/report.c index 49d28b79a..063db0739 100644 --- a/lib/report/report.c +++ b/lib/report/report.c @@ -1019,7 +1019,7 @@ static int _snpercent_disp(struct dm_report *rh __attribute((unused)), struct dm } if ((!lv_is_cow(lv) && !lv_is_merging_origin(lv)) || - (lv_info(lv->vg->cmd, lv, &info, 0, 0) && !info.exists)) { + !lv_info(lv->vg->cmd, lv, &info, 0, 0) || !info.exists) { *sortval = UINT64_C(0); dm_report_field_set_value(field, "", sortval); return 1;