From 9026d1152c236ac7a7ab25845220a8e14d6bc630 Mon Sep 17 00:00:00 2001 From: Chen Hanxiao Date: Sat, 23 Dec 2017 17:49:08 +0800 Subject: [PATCH] util: fix the description of virStringSearch There's no argument named @result, use @matches instead. Signed-off-by: Chen Hanxiao Signed-off-by: Erik Skultety --- 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 b2ebce27ff..0cb06bdc9d 100644 --- a/src/util/virstring.c +++ b/src/util/virstring.c @@ -1038,7 +1038,7 @@ int virStringSortRevCompare(const void *a, const void *b) * @str: string to search * @regexp: POSIX Extended regular expression pattern used for matching * @max_matches: maximum number of substrings to return - * @result: pointer to an array to be filled with NULL terminated list of matches + * @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