diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-03-07 18:04:02 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-03-07 18:04:02 +0100 |
commit | bfffccca948a526ad907c9d7d1b7de7850a48628 (patch) | |
tree | e3ede2942c560cae0d66d1ab8e4b51e4a9bb7aef | |
parent | eeff7729d9a48b07bc650c552ec7a03b064c3bc9 (diff) | |
download | lvm2-bfffccca948a526ad907c9d7d1b7de7850a48628.tar.gz |
config: keep config paths with variable names properly marked on output
-rw-r--r-- | lib/config/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/config.c b/lib/config/config.c index 3c283217a..38d3f0b48 100644 --- a/lib/config/config.c +++ b/lib/config/config.c @@ -1118,7 +1118,7 @@ static int _out_prefix_fn(const struct dm_config_node *cn, const char *line, voi cfg_def = cfg_def_get_item_p(cn->id); if (out->tree_spec->withcomments) { - _cfg_def_make_path(path, sizeof(path), cfg_def->id, cfg_def, 0); + _cfg_def_make_path(path, sizeof(path), cfg_def->id, cfg_def, 1); fprintf(out->fp, "%s# Configuration %s %s.\n", line, node_type_name, path); if (cfg_def->comment) |