summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-03-23 09:42:36 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-03-23 09:42:36 +0000
commitfbd89d3a1a1d332fcee9d85c1d896be810fb827d (patch)
treed838cc3fe47966b995704c3f9e8ea2c0322595ca /lib
parent86bdfb3722adbfde658dfe696da791fac856c19e (diff)
downloadlvm2-fbd89d3a1a1d332fcee9d85c1d896be810fb827d.tar.gz
lvm2-fbd89d3a1a1d332fcee9d85c1d896be810fb827d.tar.xz
lvm2-fbd89d3a1a1d332fcee9d85c1d896be810fb827d.zip
Fix typo in config option check
Diffstat (limited to 'lib')
-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 d2187700..a352afe3 100644
--- a/lib/commands/toolcontext.c
+++ b/lib/commands/toolcontext.c
@@ -387,7 +387,7 @@ static int _process_config(struct cmd_context *cmd)
init_pv_min_size((uint64_t)pv_min_kb * (1024 >> SECTOR_SHIFT));
init_detect_internal_vg_cache_corruption
- (find_config_tree_int(cmd, "global/detect_internal_vg_cache_corruption()",
+ (find_config_tree_int(cmd, "global/detect_internal_vg_cache_corruption",
DEFAULT_DETECT_INTERNAL_VG_CACHE_CORRUPTION));
lvmetad_set_active(find_config_tree_int(cmd, "global/use_lvmetad", 0));