From nobody Sat Apr 20 11:10:55 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=1631265205; cv=none; d=zohomail.com; s=zohoarc; b=cTLQeYi2Uf6echD2We5nXNSew85aBVhC2Ppf1c0KWRkyhUSyMD9AgrpRoFdHjTCVUcM4zLNPeYbwWuDTLsCQacrBR5wFIonItuYtKqcbzxhL9URd0qfqPMyJUPJicVL4hYHXTP2HU4OkFvWh/QdHMiIr35HQ/WJIidqV8T5jPEE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631265205; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=eivty2mZmu0926fRHpODj2OoV0W/2ZQS4uDkTq8GfMA=; b=kZ3c9JtU4j4tRqUveFcp9zdG95Hg79PfQC732nynzH9Dl0WWb3aKm+oANZkPOAxS1VRKhbksDeo5TAMC6wszFUmBhY6sPI8IzTy0LjnXwWt/uqQ23Zcu+3/Udkfd812dIV1gg7zjN+RGHgLTNIM3vGOdm+NVf+jjVizYV5gMWiI= 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) 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 1631265205972591.8966045731862; Fri, 10 Sep 2021 02:13:25 -0700 (PDT) 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-153-ISdTOmcgPlO87-h-8gOSUg-1; Fri, 10 Sep 2021 05:13:23 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 40E5910151E0; Fri, 10 Sep 2021 09:13:18 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BA3D95C1D5; Fri, 10 Sep 2021 09:13:17 +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 BD1934E58E; Fri, 10 Sep 2021 09:13:16 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 18A9DGkn027811 for ; Fri, 10 Sep 2021 05:13:16 -0400 Received: by smtp.corp.redhat.com (Postfix) id 336E1104B4C7; Fri, 10 Sep 2021 09:13:16 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.93]) by smtp.corp.redhat.com (Postfix) with ESMTP id B1FED104B4C2 for ; Fri, 10 Sep 2021 09:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631265204; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=eivty2mZmu0926fRHpODj2OoV0W/2ZQS4uDkTq8GfMA=; b=RxD3FAIgxYq+AWRWoeiyBlg+PRAQKAcN1FSBMhWE6eDnbIMQVwD3B3MRxW8dqBPY90rEWF Lbl4wMIyrKOQRCL53s18LmHFWhJaanP8e383tAAXljYwpbqIyxDeF1mh1F9SgvBjdiiu+R BgOmmMwCBDqtLMd6f5HT76AMRc8lq0I= X-MC-Unique: ISdTOmcgPlO87-h-8gOSUg-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] libvirt-domain.c: Fix typo in virDomainAttachDevice doc Date: Fri, 10 Sep 2021 11:13:08 +0200 Message-Id: <4c910519c53fa01ae356bad13ba38750d7755683.1631265140.git.mprivozn@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com 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.16 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) X-ZM-MESSAGEID: 1631265208167100001 Content-Type: text/plain; charset="utf-8" In the documentation to virDomainAttachDevice() we refer to a non-existent virDomainUpdateDeviceFlag() function. The correct name is virDomainUpdateDeviceFlags(). Signed-off-by: Michal Privoznik --- Pushed as trivial. 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 a8a386e839..57baef6889 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -8309,7 +8309,7 @@ virDomainGetMetadata(virDomainPtr domain, * * For compatibility, this method can also be used to change the media * in an existing CDROM/Floppy device, however, applications are - * recommended to use the virDomainUpdateDeviceFlag method instead. + * recommended to use the virDomainUpdateDeviceFlags method instead. * * Be aware that hotplug changes might not persist across a domain going * into S4 state (also known as hibernation) unless you also modify the --=20 2.32.0