util: fix insert/instead documentation mixup

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jonathon Jongsma 2020-11-11 15:17:12 -06:00
parent 728c75b93f
commit 8cb37bac33

View File

@ -125,8 +125,8 @@ virHashAtomicDispose(void *obj)
* 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.