1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

toollib: Fix uninitialised config value type in get_cachepolicy_params.

This commit is contained in:
Petr Rockai 2014-11-27 20:19:28 +01:00
parent 4bfdb01f78
commit 9290854163

View File

@ -1166,6 +1166,7 @@ struct dm_config_tree *get_cachepolicy_params(struct cmd_context *cmd)
if (!(cn->v = dm_config_create_value(result)))
goto_out;
cn->v->type = DM_CFG_STRING;
cn->v->v.str = arg_str_value(cmd, cachepolicy_ARG, NULL);
}