From nobody Tue May 14 19:39:41 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=movementarian.org Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 16482259800181009.7775805152195; Fri, 25 Mar 2022 09:33:00 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-644-b5mqGxjCPiiQKiehVO7PPA-1; Fri, 25 Mar 2022 12:32:55 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4846D38008B5; Fri, 25 Mar 2022 16:32:52 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id E30A05E8A55; Fri, 25 Mar 2022 16:32:51 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id BD215194034E; Fri, 25 Mar 2022 16:32:51 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 6884D1940341 for ; Fri, 25 Mar 2022 16:32:50 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 370ACC26EA0; Fri, 25 Mar 2022 16:32:50 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast09.extmail.prod.ext.rdu2.redhat.com [10.11.55.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 336C6C15D7E for ; Fri, 25 Mar 2022 16:32:50 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1B8B6299E769 for ; Fri, 25 Mar 2022 16:32:50 +0000 (UTC) Received: from sent.movementarian.org (88-98-93-30.dsl.in-addr.zen.co.uk [88.98.93.30]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-557-8AyiqYwQO46QMZs3fliQOA-1; Fri, 25 Mar 2022 12:31:41 -0400 Received: from jlevon by sent.movementarian.org with local (Exim 4.94.2) (envelope-from ) id 1nXmQE-0049gp-3i; Fri, 25 Mar 2022 16:04:18 +0000 X-MC-Unique: b5mqGxjCPiiQKiehVO7PPA-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: 8AyiqYwQO46QMZs3fliQOA-1 From: John Levon To: libvir-list@redhat.com, felipe@nutanix.com Subject: [PATCH] virConnectDomainEventRegisterAny: correct docs Date: Fri, 25 Mar 2022 16:03:35 +0000 Message-Id: <20220325160335.990461-1-levon@movementarian.org> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Mimecast-Bulk-Signature: yes X-Mimecast-Spam-Signature: yes X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Levon Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 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-ZM-MESSAGEID: 1648225981122100001 Content-Type: text/plain; charset="utf-8"; x-default="true" The callback ID can be zero, not necessarily positive; correct the comment to reflect this. Signed-off-by: John Levon Reviewed-by: Michal Privoznik --- src/libvirt-domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index a197618673..53efb60406 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -9486,7 +9486,7 @@ virDomainMigrateStartPostCopy(virDomainPtr domain, * The reference can be released once the object is no longer required * by calling virDomainFree(). * - * The return value from this method is a positive integer identifier + * The return value from this method is a non-negative integer identifier * for the callback. To unregister a callback, this callback ID should * be passed to the virConnectDomainEventDeregisterAny() method. * --=20 2.32.0