summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-05-13 15:13:49 -0500
committerDavid Teigland <teigland@redhat.com>2015-05-19 14:04:47 -0500
commita02ec76f0b93159019d4e7c784a935f09dcfaa5c (patch)
treea71609e15a1db4198f8fd228bad0157204d9a9ef
parentf8829669fec4cf2d8aac18b1adec50b06eda4f38 (diff)
downloadlvm2-a02ec76f0b93159019d4e7c784a935f09dcfaa5c.tar.gz
liblvm: new unused arg for vg_read
-rw-r--r--liblvm/lvm_vg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblvm/lvm_vg.c b/liblvm/lvm_vg.c
index 76c5c6356..a2d42d23f 100644
--- a/liblvm/lvm_vg.c
+++ b/liblvm/lvm_vg.c
@@ -218,7 +218,7 @@ static vg_t _lvm_vg_open(lvm_t libh, const char *vgname, const char *mode,
return NULL;
}
- vg = vg_read((struct cmd_context *)libh, vgname, NULL, internal_flags);
+ vg = vg_read((struct cmd_context *)libh, vgname, NULL, internal_flags, 0);
if (vg_read_error(vg)) {
/* FIXME: use log_errno either here in inside vg_read */
release_vg(vg);