summaryrefslogtreecommitdiff
path: root/lib/display
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-05-29 09:41:03 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2014-06-17 16:27:20 +0200
commit5abdb52fdc66316d3e7d54085d4e79160024b95e (patch)
tree462e96d77d2c72a54470c49ec379aedcbd455f62 /lib/display
parentfe952e735ae260849a9a9c04f38bbb08f8e6c22b (diff)
downloadlvm2-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.c2
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);