mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
toollib: Fix uninitialised config value type in get_cachepolicy_params.
This commit is contained in:
parent
4bfdb01f78
commit
9290854163
@ -1166,6 +1166,7 @@ struct dm_config_tree *get_cachepolicy_params(struct cmd_context *cmd)
|
|||||||
if (!(cn->v = dm_config_create_value(result)))
|
if (!(cn->v = dm_config_create_value(result)))
|
||||||
goto_out;
|
goto_out;
|
||||||
|
|
||||||
|
cn->v->type = DM_CFG_STRING;
|
||||||
cn->v->v.str = arg_str_value(cmd, cachepolicy_ARG, NULL);
|
cn->v->v.str = arg_str_value(cmd, cachepolicy_ARG, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user