summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2014-11-24 13:14:33 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2014-11-24 13:14:33 +0100
commitfb220314ec787bd8f0855b055e1b3bba7368dd26 (patch)
tree1ea243a95cd6e2c85e777c079bc115b460b17d28
parentb9601b8353a7d7ccba70638800630065175e6f03 (diff)
downloadlvm2-fb220314ec787bd8f0855b055e1b3bba7368dd26.tar.gz
report: add some comments about how string list is stored internally
-rw-r--r--libdm/libdm-report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c
index 88a429b25..470c2d191 100644
--- a/libdm/libdm-report.c
+++ b/libdm/libdm-report.c
@@ -376,7 +376,7 @@ static int _report_field_string_list(struct dm_report *rh,
* sort_value->value = report_string; (we'll use the original report_string for indices)
* sort_value->items[0] = {0,3}; (we have 3 items)
* sort_value->items[1] = {0,3}; ("abc")
- * sort_value->items[2] = {7,4}; ("defgh")
+ * sort_value->items[2] = {7,5}; ("defgh")
* sort_value->items[3] = {4,2}; ("xy")
*
* The items alone are always sorted while in report_string they can be