master - report: check value of args_are_pvs, not the pointer (fix for commit 9ea77b7)
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=047fe6c59fe2cf3a52208b219caebed469ed6bdc Commit: 047fe6c59fe2cf3a52208b219caebed469ed6bdc Parent: c32efc7f7ed9fa3257e667cd8b70d8a5c8379b4b Author: Peter Rajnoha <[email protected]> AuthorDate: Mon Mar 2 10:36:32 2015 +0100 Committer: Peter Rajnoha <[email protected]> CommitterDate: Mon Mar 2 10:36:32 2015 +0100
report: check value of args_are_pvs, not the pointer (fix for commit 9ea77b7)
--- tools/reporter.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
tools/reporter.c +1 -1
@@ -576,7 +576,7 @@ static void _check_pv_list(struct cmd_context *cmd, int argc, char **argv, *report_type ==LABEL || *report_type == PVSEGS) ? 1 : 0; -if (args_are_pvs && argc) { +if (*args_are_pvs && argc) {for (i =0 ; i < argc; i++) {if (!rescan_done && !dev_cache_get (argv[i], cmd->full_filter)) { cmd->filter->wipe (cmd->filter);