summaryrefslogtreecommitdiff
path: root/lib/commands
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2013-06-25 12:31:24 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2013-07-02 15:19:09 +0200
commitdbea545ffbfa08c799c35b85417e42684bc550e2 (patch)
tree04b3a022f3e8d1df7dc397f39a66600343d89129 /lib/commands
parent50bf2c0db14400d80b08afabe917deee51f32ac8 (diff)
downloadlvm2-dbea545ffbfa08c799c35b85417e42684bc550e2.tar.gz
config: add profile arg to find_config_tree_int64
Diffstat (limited to 'lib/commands')
-rw-r--r--lib/commands/toolcontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c
index 8fce261de..ead77e566 100644
--- a/lib/commands/toolcontext.c
+++ b/lib/commands/toolcontext.c
@@ -400,7 +400,7 @@ static int _process_config(struct cmd_context *cmd)
cmd->metadata_read_only = find_config_tree_bool(cmd, global_metadata_read_only_CFG);
- pv_min_kb = find_config_tree_int64(cmd, devices_pv_min_size_CFG);
+ pv_min_kb = find_config_tree_int64(cmd, devices_pv_min_size_CFG, NULL);
if (pv_min_kb < PV_MIN_SIZE_KB) {
log_warn("Ignoring too small pv_min_size %" PRId64 "KB, using default %dKB.",
pv_min_kb, PV_MIN_SIZE_KB);