From nobody Sun Feb 8 20:53:38 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.81 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=1571752837; cv=none; d=zoho.com; s=zohoarc; b=NV6odWBZUADxWC/bVyGnqr8OZ7njJgcpaDXEXGErh1GUiObbgIbauiuNqvAoLDH492Y+WsCE1gJyfXgTFrQLBTgLwxEqSmYPBFoI6YaYj8v653UpWGY9kw6lmLSegMfEu/8ANkCI8Yo/dc539my2ypYdrJVDLPdEPV/OtfnwC2k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571752837; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=zFFKjEhrDiBHw9bdccT/1Wsx/dKpXWSQCCip+R2pEq4=; b=WewOkX05f2BZP08FDJxKvbrXRzDywoz67KEYS8u6fmXHwfFoX1DPZz9AATk1ooMhJiflYW56YIj3PCqKodJ3AFfpxnXhGQNyTWiuQLwXFGEH+pi6aSWqsQB4r8srmberoxZhfJU0FPk5RgxItQkCL21dMd8THiI+NZropyfzxQg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 207.211.31.81 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-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1571752837901686.7393601314628; Tue, 22 Oct 2019 07:00:37 -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-23-uwP9ojwpMGiBwN1MzbwdEQ-1; Tue, 22 Oct 2019 10:00:34 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 85BBA5ED; Tue, 22 Oct 2019 14:00:29 +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 4CD0360C5E; Tue, 22 Oct 2019 14:00:29 +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 D2DAD1803B56; Tue, 22 Oct 2019 14:00:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x9ME0RBW002472 for ; Tue, 22 Oct 2019 10:00:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id E3AA560167; Tue, 22 Oct 2019 14:00:27 +0000 (UTC) Received: from moe.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6873C6031D for ; Tue, 22 Oct 2019 13:59:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571752836; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=zFFKjEhrDiBHw9bdccT/1Wsx/dKpXWSQCCip+R2pEq4=; b=QtF+8FZjBeqKn6DkkLD5AeMVJEqxi2gKaGibcZH4C2+TZqx2ztNw0sALxGCgPGOkL7Mcdp 28VZqGMSy6IDQaC0kprieonhD5yIrXcUsBmamm4dZf3jkGcIHa/3Ss8VCb6RqybjDeUcPi visNyhuOFIZTI9UI0DpUpTp1Iw/x/KM= From: Michal Privoznik To: libvir-list@redhat.com Date: Tue, 22 Oct 2019 15:57:41 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 37/75] access: Use g_strdup_printf() instead of virAsprintf() 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.12 X-MC-Unique: uwP9ojwpMGiBwN1MzbwdEQ-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Michal Privoznik Reviewed-by: J=C3=A1n Tomko --- src/access/viraccessdriverpolkit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/access/viraccessdriverpolkit.c b/src/access/viraccessdrive= rpolkit.c index 5d6c4204ff..1d6ff81391 100644 --- a/src/access/viraccessdriverpolkit.c +++ b/src/access/viraccessdriverpolkit.c @@ -59,8 +59,8 @@ virAccessDriverPolkitFormatAction(const char *typename, char *actionid =3D NULL; size_t i; =20 - virAsprintf(&actionid, "%s.%s.%s", VIR_ACCESS_DRIVER_POLKIT_ACTION_PRE= FIX, - typename, permname); + actionid =3D g_strdup_printf("%s.%s.%s", VIR_ACCESS_DRIVER_POLKIT_ACTI= ON_PREFIX, + typename, permname); =20 for (i =3D 0; actionid[i]; i++) if (actionid[i] =3D=3D '_') --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list