From nobody Fri Dec 19 00:05:04 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=1679146743; cv=none; d=zohomail.com; s=zohoarc; b=WSBc408yWdz+dPwW8eTyPk0QiUu77B0mVZBAQrCF57DoOYQef0kmsQ5dmbJXiRW4kPC/6YaIQewvK1qILF+N9zy3ytgt4Ih3qam5rfK4K8U4dJLRLDtGHiGbxjaYqUAqhsQe7x+78kSWNJHMz1QaFJXV/QRFDLdyaUFQFnXlNaM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1679146743; 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=p9i0BKQMR8vnptG893C6FKXF9MeHW7mwP/0NwKtD/oE=; b=W9pkStR2qBQJxYN+IogmeFJfxjdgt6tyuTD0gHHD1R+EF6RNrNsHJd2Ef8rXNkwl4rMRYHn9MW8kkVVUe+1QTR0T0xlZcmKj4YrcduVTokO2aKT41hhSvr/M351hXWzcuAN6krQug+p+3ndNVgweTholoIrUuP6HJGWPM02TQDI= 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 1679146743069949.8046849492264; Sat, 18 Mar 2023 06:39:03 -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-635-RZO0hYJkM6KW9SwHSl5BAQ-1; Sat, 18 Mar 2023 09:38:36 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 87F342A5956F; Sat, 18 Mar 2023 13:38:32 +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 733AC1410F1B; Sat, 18 Mar 2023 13:38:32 +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 00CF51946A6B; Sat, 18 Mar 2023 13:38:32 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id AE3C01946A67 for ; Sat, 18 Mar 2023 13:38:29 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id A1582406AA67; Sat, 18 Mar 2023 13:38:29 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.45.224.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id 22729406AA66 for ; Sat, 18 Mar 2023 13:38:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679146742; 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=p9i0BKQMR8vnptG893C6FKXF9MeHW7mwP/0NwKtD/oE=; b=MaysAFuxegk3um8LWMopCms/j8Xl8BMnNRJch3INU/Ef6ewcqU+hBxwBt6thxdboACBzaR nNmZNZrZpLLputm8ZcO0ptEvABkdaBfKyhj60RDQELL59ZexwpQD2yfXV29+N6mO/Vz2U9 DK9MuGGzDGtV3E+X4GvzF7rggd0UMIw= X-MC-Unique: RZO0hYJkM6KW9SwHSl5BAQ-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 2/8] src: unify symlink creation error message Date: Sat, 18 Mar 2023 14:38:21 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 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.7 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: 1679146744500100002 In some places, one quote got dropped by accident. Signed-off-by: J=C3=A1n Tomko --- src/libxl/libxl_driver.c | 2 +- src/lxc/lxc_driver.c | 2 +- src/qemu/qemu_driver.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c index 04e74086e6..07dcfcdc05 100644 --- a/src/libxl/libxl_driver.c +++ b/src/libxl/libxl_driver.c @@ -4651,7 +4651,7 @@ libxlDomainSetAutostart(virDomainPtr dom, int autosta= rt) =20 if (symlink(configFile, autostartLink) < 0) { virReportSystemError(errno, - _("Failed to create symlink '%s to '%= s'"), + _("Failed to create symlink '%s' to '= %s'"), autostartLink, configFile); goto endjob; } diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index b1d53659d7..d581372b00 100644 --- a/src/lxc/lxc_driver.c +++ b/src/lxc/lxc_driver.c @@ -2481,7 +2481,7 @@ static int lxcDomainSetAutostart(virDomainPtr dom, =20 if (symlink(configFile, autostartLink) < 0) { virReportSystemError(errno, - _("Failed to create symlink '%s to '%s'"), + _("Failed to create symlink '%s' to '%s'"= ), autostartLink, configFile); goto endjob; } diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 891f630e27..09ae893daf 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -8232,7 +8232,7 @@ static int qemuDomainSetAutostart(virDomainPtr dom, =20 if (symlink(configFile, autostartLink) < 0) { virReportSystemError(errno, - _("Failed to create symlink '%s to '%= s'"), + _("Failed to create symlink '%s' to '= %s'"), autostartLink, configFile); goto endjob; } @@ -18964,7 +18964,7 @@ qemuDomainRenameCallback(virDomainObj *vm, =20 if (symlink(new_dom_cfg_file, new_dom_autostart_link) < 0) { virReportSystemError(errno, - _("Failed to create symlink '%s to '%s'"), + _("Failed to create symlink '%s' to '%s'"= ), new_dom_autostart_link, new_dom_cfg_file); return -1; } --=20 2.39.2