[libvirt PATCH] util: fix insert/instead documentation mixup
Jiri Denemark
jdenemar at redhat.com
Wed Nov 11 21:29:29 UTC 2020
On Wed, Nov 11, 2020 at 15:18:51 -0600, Jonathon Jongsma wrote:
> Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
> ---
> src/util/virhash.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/util/virhash.c b/src/util/virhash.c
> index 5d5b6389b5..d105820bfa 100644
> --- a/src/util/virhash.c
> +++ b/src/util/virhash.c
> @@ -147,8 +147,8 @@ virHashFree(GHashTable *table)
> * Add the @userdata to the hash @table. This can later be retrieved
> * by using @name. Duplicate entries generate errors.
> *
> - * Deprecated: Consider using g_hash_table_insert insert. Note that
> - * g_hash_table_instead doesn't fail if entry exists. Also note that
> + * Deprecated: Consider using g_hash_table_insert instead. Note that
> + * g_hash_table_insert doesn't fail if entry exists. Also note that
> * g_hash_table_insert doesn't copy the key.
> *
> * Returns 0 the addition succeeded and -1 in case of error.
Reviewed-by: Jiri Denemark <jdenemar at redhat.com>
More information about the libvir-list
mailing list