From nobody Fri Dec 19 14:28:30 2025 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; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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=1679064546; cv=none; d=zohomail.com; s=zohoarc; b=Rvmmrrvik8cmRE5jo0BENSOmfm51uaUnQzv6L7gLiL06t6Y3riPh+DrDVHjiPSa4ytwWVTwCT4uowyAMHqdRYWOxTB+d9B4wwURStumI1T7JWCupMx3U+swZ1O99oEZo7EYInqGRuv/Z4tqOm/IVCxLnUmreowSB3D7qZHZ1D6w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1679064546; 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=/dvbtO/YbJJojI162SqbS+MgBzlwXVxbRP+SCfuLEqk=; b=h/Gp/GzXQj2DQ8wRpMDDYv0izT/nKIPT1n3i3yzvzg08op5W3H8hJ0CIbDodRf0XmUlbzguVpekshU0Aq5azXFTncWmCWktgjm+jDAZeW4Gt4MtHrk8YLQFLqFeWA8cZZ/7JQ3YMFhuWu7SAAVn+rObJH+weIUiWHYojrZshjdg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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 [170.10.133.124]) by mx.zohomail.com with SMTPS id 1679064546961357.71505289973857; Fri, 17 Mar 2023 07:49:06 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-258-zgpjMbjsPKCXExNtGMMO3w-1; Fri, 17 Mar 2023 10:49:03 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 572F2800045; Fri, 17 Mar 2023 14:49:01 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 43A5B1121315; Fri, 17 Mar 2023 14:49:01 +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 28CFD1946597; Fri, 17 Mar 2023 14:49:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4A4AC1946587 for ; Thu, 16 Mar 2023 12:20:27 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3986E1121318; Thu, 16 Mar 2023 12:20:27 +0000 (UTC) Received: from fedora.. (unknown [10.43.2.118]) by smtp.corp.redhat.com (Postfix) with ESMTP id D32931121315 for ; Thu, 16 Mar 2023 12:20:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679064545; 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=/dvbtO/YbJJojI162SqbS+MgBzlwXVxbRP+SCfuLEqk=; b=K06QXXETjXqax9jrhehks3FKR7Kh+8A0ArkY0IjjBdSHyJIxd9kx3jzAlOccL7hK3/1oNl T/JG2UmY/1HB9rztWy3G2XlS5zRR0nuZvpP+BTsyMRTtmb4invCHUc+ar+Tc8LZlSs4KcR ru6BhDk2BgheMaWDm0CuGPEUnO1HkE0= X-MC-Unique: zgpjMbjsPKCXExNtGMMO3w-1 X-Original-To: libvir-list@listman.corp.redhat.com From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH] rpc: fix typo in admin code generation Date: Thu, 16 Mar 2023 13:20:16 +0100 Message-Id: <1d5c35f5ff2735ef4ea7843cffb8eb3afb15ea62.1678969208.git.jtomko@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 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: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1679064594093100001 An extra '&' introduced a crash. https://bugzilla.redhat.com/show_bug.cgi?id=3D2178866 Fixes: 778c3004609ede0a9df4cf3e01c031047530efb7 Signed-off-by: J=C3=A1n Tomko Reviewed-by: Peter Krempa --- src/rpc/gendispatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl index b186849606..704c133215 100755 --- a/src/rpc/gendispatch.pl +++ b/src/rpc/gendispatch.pl @@ -1812,7 +1812,7 @@ elsif ($mode eq "client") { } =20 if ($structprefix eq "admin") { - print " VIR_LOCK_GUARD lock =3D virObjectLockGuard(&priv);\= n"; + print " VIR_LOCK_GUARD lock =3D virObjectLockGuard(priv);\n= "; } else { print " VIR_LOCK_GUARD lock =3D remoteDriverLock(priv);\n"; } --=20 2.39.2