summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-05-13 15:13:49 -0500
committerDavid Teigland <teigland@redhat.com>2015-06-02 11:31:30 -0500
commita4b828e57e209a3b9a72e2cef29929ae3a1dd015 (patch)
tree0ad72da8b4c8e320624a132308ee607d0f979029
parenta1c94e6c7204f57126757adec00d7c719611e5b7 (diff)
downloadlvm2-a4b828e57e209a3b9a72e2cef29929ae3a1dd015.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);