summaryrefslogtreecommitdiffstats
path: root/lib/lvm2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lvm2.h')
-rw-r--r--lib/lvm2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lvm2.h b/lib/lvm2.h
index 75c002a1..b18ceadc 100644
--- a/lib/lvm2.h
+++ b/lib/lvm2.h
@@ -24,7 +24,7 @@
*/
struct arg;
struct cmd_context;
-struct cmd_context *create_toolcontext(unsigned is_static, unsigned is_long_lived);
+struct cmd_context *create_toolcontext(unsigned is_long_lived);
void destroy_toolcontext(struct cmd_context *cmd);
/*
@@ -37,7 +37,7 @@ lvm_handle_t lvm2_create(void);
* NULL: Fail - unable to initialise handle.
* non-NULL: Success - valid LVM2 handle returned
*/
-#define lvm2_create(X) create_toolcontext(0,1)
+#define lvm2_create(X) create_toolcontext(1)
/*
* lvm2_destroy