diff --git a/daemons/clvmd/lvm-functions.c b/daemons/clvmd/lvm-functions.c index 1c525aef1..6b1d79a4e 100644 --- a/daemons/clvmd/lvm-functions.c +++ b/daemons/clvmd/lvm-functions.c @@ -539,7 +539,7 @@ void init_lvhash() /* Called to initialise the LVM context of the daemon */ int init_lvm(int using_gulm) { - if (!(cmd = create_toolcontext(NULL))) { + if (!(cmd = create_toolcontext(NULL, 0))) { log_error("Failed to allocate command context"); return 0; }