mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
report: check value of args_are_pvs, not the pointer (fix for commit 9ea77b7
)
This commit is contained in:
parent
c32efc7f7e
commit
047fe6c59f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user