From nobody Sat May 4 10:26:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1605129553; cv=none; d=zohomail.com; s=zohoarc; b=EH6cABVdtOEYBkuHUfeaiaKD26rM3Dbae7fmgHHTnqZ0HytJvYkv+FNm5w2JLKD7M2dxKyp+LbWgYISv5BB8LERK5GoSUhdmxp6eOV8ANeR9XYxln+pu635Weq1Jsxy6ayUhEkXrdgtjF1Zhp9E7qBmtPl0i6+PGfUJjwcJ+Two= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1605129553; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=oTC/7j4jZ4AISBD2Qy1jycJZhYfgvsaEnTrh2c+blTc=; b=CRgp/sjud6A4CPaDa13KyuIe6aZHaWzWgYZiKeENLFah2zCSXVsI0O7aD99278XjSxtgslzmyjD5VnepfcbzH+rkGc98+I17glKHXk1/N+WFOga/5kOlQQjt7dxBKB6Yn1ZnbpqsVad5AkeGidVmo8BSI8y/P05TuUl1Iotkvvo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1605129553846850.0926973511122; Wed, 11 Nov 2020 13:19:13 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-59-NWxaGXfiOnON-tGkop6K4g-1; Wed, 11 Nov 2020 16:19:10 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 19A2086ABD2; Wed, 11 Nov 2020 21:19:04 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8C09D55795; Wed, 11 Nov 2020 21:19:02 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 13334180B657; Wed, 11 Nov 2020 21:18:57 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0ABLItlD001332 for ; Wed, 11 Nov 2020 16:18:55 -0500 Received: by smtp.corp.redhat.com (Postfix) id CF2905DA79; Wed, 11 Nov 2020 21:18:55 +0000 (UTC) Received: from himantopus.redhat.com (ovpn-112-39.phx2.redhat.com [10.3.112.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 91EBF5DA6A; Wed, 11 Nov 2020 21:18:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605129552; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=oTC/7j4jZ4AISBD2Qy1jycJZhYfgvsaEnTrh2c+blTc=; b=CSUDR8Sjdqom4bKxbTEIfZLpB3qRIa1+Z76hCgaRe4jmj+DwStRnPdW0L2MF4/f8kWzpF4 YClGMoPB7T6HTpa24MIn+APxeW+FDr/39vd41QuTkxDoU3ItPcE83k42XvG9AEw/hWPclT 6ATojxGEs2Rujj/Neo+qZL9u0PSUb+I= X-MC-Unique: NWxaGXfiOnON-tGkop6K4g-1 From: Jonathon Jongsma To: libvir-list@redhat.com Subject: [libvirt PATCH] util: fix insert/instead documentation mixup Date: Wed, 11 Nov 2020 15:18:51 -0600 Message-Id: <20201111211851.3366789-1-jjongsma@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Cc: Peter Krempa X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Jonathon Jongsma Reviewed-by: Jiri Denemark --- 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. --=20 2.26.2