From: Jonathon Jongsma Date: Wed, 11 Nov 2020 21:17:12 +0000 (-0600) Subject: util: fix insert/instead documentation mixup X-Git-Tag: v8.4.0-rc1~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8cb37bac33c39c9632f91d13734f0d7a6918f313;p=thirdparty%2Flibvirt.git util: fix insert/instead documentation mixup Signed-off-by: Jonathon Jongsma Reviewed-by: Jiri Denemark --- diff --git a/src/util/virhash.c b/src/util/virhash.c index 9fcef621fd..a89b2d662e 100644 --- a/src/util/virhash.c +++ b/src/util/virhash.c @@ -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.