diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-05-29 09:41:03 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-06-17 16:27:20 +0200 |
commit | 5abdb52fdc66316d3e7d54085d4e79160024b95e (patch) | |
tree | 462e96d77d2c72a54470c49ec379aedcbd455f62 /lib/display | |
parent | fe952e735ae260849a9a9c04f38bbb08f8e6c22b (diff) | |
download | lvm2-5abdb52fdc66316d3e7d54085d4e79160024b95e.tar.gz |
report: select: refactor: move str_list to libdm
The list of strings is used quite frequently and we'd like to reuse
this simple structure for report selection support too. Make it part
of libdevmapper for general reuse throughout the code.
This also simplifies the LVM code a bit since we don't need to
include and manage lvm-types.h anymore (the string list was the
only structure defined there).
Diffstat (limited to 'lib/display')
-rw-r--r-- | lib/display/display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/display/display.c b/lib/display/display.c index 3c47aa80a..70a4cdae6 100644 --- a/lib/display/display.c +++ b/lib/display/display.c @@ -833,7 +833,7 @@ void display_segtypes(const struct cmd_context *cmd) void display_tags(const struct cmd_context *cmd) { - const struct str_list *sl; + const struct dm_str_list *sl; dm_list_iterate_items(sl, &cmd->tags) { log_print("%s", sl->str); |