]> sourceware.org Git - lvm2.git/commitdiff
report: update comment for _is_same_field fn
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 3 Aug 2015 14:47:02 +0000 (16:47 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Mon, 3 Aug 2015 14:47:02 +0000 (16:47 +0200)
libdm/libdm-report.c

index 64ba0330b66c1ba7425354880f809e418b6bf9b4..5b943117bd46544f7315bfc70809049e69697e8a 100644 (file)
@@ -845,9 +845,10 @@ static int _get_canonical_field_name(const char *field,
 }
 
 /*
- * Compare name1 against name2 or prefix plus name2
- * name2 is not necessarily null-terminated.
- * len2 is the length of name2.
+ * Compare canonical_name1 against canonical_name2 or prefix
+ * plus canonical_name2. Canonical name is a name where all
+ * superfluous characters are removed (underscores for now).
+ * Both names are always null-terminated.
  */
 static int _is_same_field(const char *canonical_name1, const char *canonical_name2,
                          const char *prefix)
This page took 0.041072 seconds and 5 git commands to generate.