]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: virstring: Tweak a few more descriptions.
authorChen Hanxiao <chenhanxiao@gmail.com>
Wed, 3 Jan 2018 09:56:35 +0000 (17:56 +0800)
committerErik Skultety <eskultet@redhat.com>
Wed, 3 Jan 2018 11:42:53 +0000 (12:42 +0100)
There are a few more description-related issues that commit @9026d115
forgot to address.

Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/util/virstring.c

index 1c58df9150cbc9a425d5d2ae1055af66306c93b2..2ec9f3544ba8ea513d1d89aadb0c302094aaf967 100644 (file)
@@ -280,7 +280,7 @@ virStringListCopy(char ***dst,
 
 /**
  * virStringListFree:
- * @str_array: a NULL-terminated array of strings to free
+ * @strings: a NULL-terminated array of strings to free
  *
  * Frees a NULL-terminated array of strings, and the array itself.
  * If called on a NULL value, virStringListFree() simply returns.
@@ -1041,7 +1041,7 @@ int virStringSortRevCompare(const void *a, const void *b)
  * @matches: pointer to an array to be filled with NULL terminated list of matches
  *
  * Performs a POSIX extended regex search against a string and return all matching substrings.
- * The @result value should be freed with virStringListFree() when no longer
+ * The @matches value should be freed with virStringListFree() when no longer
  * required.
  *
  * @code
@@ -1319,7 +1319,7 @@ virStringFilterChars(char *str, const char *valid)
 
 /**
  * virStringToUpper:
- * @str: string to capitalize
+ * @src string to capitalize
  * @dst: where to store the new capitalized string
  *
  * Capitalize the string with replacement of all '-' characters for '_'