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

Jonathon Jongsma jjongsma at redhat.com
Wed Nov 11 21:18:51 UTC 2020


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.
-- 
2.26.2




More information about the libvir-list mailing list