[libvirt] [PATCH] util: fix another wrong description

Chen Hanxiao chen_han_xiao at 126.com
Wed Jan 3 09:56:35 UTC 2018


From: Chen Hanxiao <chenhanxiao at gmail.com>

commit 9026d1152c236ac7a7ab25845220a8e14d6bc630
forgot to change the referenced @result variable.
This patch completed this.

Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
---
 src/util/virstring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virstring.c b/src/util/virstring.c
index 0cb06bdc9..b6e7e279c 100644
--- a/src/util/virstring.c
+++ b/src/util/virstring.c
@@ -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
-- 
2.14.3




More information about the libvir-list mailing list