Re: [libvirt PATCH] util: fix insert/instead documentation mixup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 11, 2020 at 15:18:51 -0600, Jonathon Jongsma wrote:
> Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux