From nobody Sat Jul 12 05:14:01 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1525521901093774.0046819144694; Sat, 5 May 2018 05:05:01 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2D3303002398; Sat, 5 May 2018 12:04:59 +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 80CCE17F86; Sat, 5 May 2018 12:04:57 +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 0FEAD180BADC; Sat, 5 May 2018 12:04:54 +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 w45C4pfq016052 for ; Sat, 5 May 2018 08:04:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9BC9E60474; Sat, 5 May 2018 12:04:51 +0000 (UTC) Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 93D186031B for ; Sat, 5 May 2018 12:04:48 +0000 (UTC) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0B4C885376 for ; Sat, 5 May 2018 12:04:38 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id a67so7552289wmf.3 for ; Sat, 05 May 2018 05:04:37 -0700 (PDT) Received: from localhost.localdomain ([212.92.119.143]) by smtp.gmail.com with ESMTPSA id g21-v6sm7702047edm.27.2018.05.05.05.04.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 05 May 2018 05:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OIWAt2ZijpTtD9DbqmQBiadOaMRALS5R+qRwwuBU6UY=; b=FiHVr/Sy7Gf0J+gq8ZzuzIdDaqQw1t2SOv0b6x04U0N++NaTCOtx9ftSaKAxPrb5Cu OjVh4BrJZA2NCknogWUYht7Q9NseDkvs5e9US3+zmhN1+dra559Xel/aydgM+NoEPTwe VNSgoZc1a1DwX74JW94E+fSetsf2yn15I7GQbCKCzyyMjhPnMaR7YGnlx7VUAJ6IM4mF +ZQDjw2slM5qdFUe+keR/k9pBNmDrY3oh/JvOhsARsYs4lTFDDRO8BuFWpOvmfwAz6wG ya7uUXMqVhLMH16dDbbPReCWSzgAfsOOBpKcke30cNLOunl8i3uxFhhKEZz07aopXuLb WYDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OIWAt2ZijpTtD9DbqmQBiadOaMRALS5R+qRwwuBU6UY=; b=kLQBT12p6O+NChmc1a5SdttrNBvJQuDmOFD7kr/GA4gsZteGxgWr68/LokNQsAcO/7 3YBvnpDnPj730Iu+UcPPNo1RydJxpZ+nJeRQxLIVhKn/r4KI7tgvVdjjhWeS9cOrppgY vYcVqMLe7o0EwI5FMwaxTgk1+uRGpm5pNlZIybBgwz66sDJpt3Yu4si4wb6sxwPGjTrb kspZJQpSXv15Q2htdTZ7rV1aPULOr8TgCD2J62Rjla8PfN0p6iT5SueRmBo598PkwiX0 ByfxlaVA6glngqnSp7IUU2/lduHeOdnApvQS3jwQ0VPBGBXvG5mtMfiuhxGlLwBKSd1k Acpw== X-Gm-Message-State: ALQs6tDMwjR0tDpRnzy3thB08Iid4OWBWq3gczgkZkF6F+rWjy3tgdly zRsEpmGpztgIsPwS0OxEAYcZgA== X-Google-Smtp-Source: AB8JxZq36173Ric8QXcsjxFUFYt9xdmvixroL1wzyD8Fl5KNu54zA+GMY0fYTb+r8935wDNh5EBtMg== X-Received: by 2002:a50:8c8c:: with SMTP id q12-v6mr40596488edq.17.1525521876642; Sat, 05 May 2018 05:04:36 -0700 (PDT) From: ramyelkest To: libvir-list@redhat.com Date: Sat, 5 May 2018 13:04:19 +0100 Message-Id: <1525521861-32624-2-git-send-email-ramyelkest@gmail.com> In-Reply-To: <1525521861-32624-1-git-send-email-ramyelkest@gmail.com> References: <1525521861-32624-1-git-send-email-ramyelkest@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sat, 05 May 2018 12:04:38 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sat, 05 May 2018 12:04:38 +0000 (UTC) for IP:'74.125.82.65' DOMAIN:'mail-wm0-f65.google.com' HELO:'mail-wm0-f65.google.com' FROM:'ramyelkest@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.281 * (DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_PASS, T_DKIM_INVALID) 74.125.82.65 mail-wm0-f65.google.com 74.125.82.65 mail-wm0-f65.google.com X-Scanned-By: MIMEDefang 2.83 on 10.5.110.25 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com Cc: ramyelkest Subject: [libvirt] [PATCH 1/3] util: cleanup: using virGetLastErrorMessage instead of err->message 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: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Sat, 05 May 2018 12:04:59 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Ramy Elkest Reviewed-by: Erik Skultety --- src/util/virfilecache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util/virfilecache.c b/src/util/virfilecache.c index dab7216..96ae96d 100644 --- a/src/util/virfilecache.c +++ b/src/util/virfilecache.c @@ -157,9 +157,8 @@ virFileCacheLoad(virFileCachePtr cache, } =20 if (!(loadData =3D cache->handlers.loadFile(file, name, cache->priv)))= { - virErrorPtr err =3D virGetLastError(); VIR_WARN("Failed to load cached data from '%s' for '%s': %s", - file, name, err ? NULLSTR(err->message) : "unknown error"= ); + file, name, virGetLastErrorMessage()); virResetLastError(); ret =3D 0; goto cleanup; --=20 2.7.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list