From nobody Mon Sep 8 21:43:47 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1749450223; cv=none; d=zohomail.com; s=zohoarc; b=HiHRCSIygXked5tN85uMPryPmNKE0+ACm6qJNeoZsUyg2u2YuMbAAqfS3P7WM2ExR6BlMBIwlgx5jbS3IxRpbNLfoxoJ9SVi0da4B11rqZpgDiRjVvezfbeE8Mq6M/kWJ+63QgWxxTwXoE9/TSTUoIzsBcR+LpbBbTzMxhop9D0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1749450223; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Subject:Subject:To:To:Message-Id:Cc; bh=f7lrSwuH4UHv6VOkMSTCrA7G66K7KwrLUWMNsH85QTE=; b=ONhYwHpQJ5iJ1yxvRnKi/yL5eJaSUXVqpkzdg3Jmm4EyaBs4ZXu8wqtcrs3hLjle5ksu3Ar4i6zFU41zlJSA8nKN5Krv85HJmRqRS8SDhDRclCjyWvM12+9ZdehiwdiV1eeODbrYUGNPmQmCHwhHWAAjwHpW6lwIsFQdaS0c99o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1749450223667212.560660081695; Sun, 8 Jun 2025 23:23:43 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id B8DBB1556; Mon, 9 Jun 2025 02:23:42 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 781C31536; Mon, 9 Jun 2025 02:23:26 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 0F62A1510; Mon, 9 Jun 2025 02:23:22 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 74E3DE97 for ; Mon, 9 Jun 2025 02:23:21 -0400 (EDT) Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-613-g47hehlBPz6S4BaBFFDFbg-1; Mon, 09 Jun 2025 02:23:19 -0400 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7D06F19560B1 for ; Mon, 9 Jun 2025 06:23:18 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.10]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 8F59130001B1 for ; Mon, 9 Jun 2025 06:23:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1749450201; h=from:from: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; bh=lpWXtWZZ2eQrn5iMnwqMRGBe/sF5Sn8par/XutgdgQg=; b=B3Vb1BVC6IHMgrQW/2cIvs2AQ/9suK/bK7ynb/bIrlWKPa6KJ8skiuwxgq/oeUBnx9Feev TfpZAt8ImFmUgkSQvmuGPQZVe8hWzyQEZO6wa8nGbDa1cW/v35xUeB9OJBoKyscjYGQU4F GHaJT+f3xmmZdVQc6l1mdk5bbwmETh4= X-MC-Unique: g47hehlBPz6S4BaBFFDFbg-1 X-Mimecast-MFC-AGG-ID: g47hehlBPz6S4BaBFFDFbg_1749450198 To: devel@lists.libvirt.org Subject: [PATCH pushed] virDomainDriverAutoShutdown: Fix printf conversion specifier for 'waitShutdownSecs' Date: Mon, 9 Jun 2025 08:23:15 +0200 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: TvLrdTp0-ngvx-pqcH4T0B8FSqozzDrmy8KQmfGqlhc_1749450198 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 3MXDDCN36KDKCGCBVYSU2RQFDTZXSZOG X-Message-ID-Hash: 3MXDDCN36KDKCGCBVYSU2RQFDTZXSZOG X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: From: Peter Krempa via Devel Reply-To: Peter Krempa X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1749450225016116600 Content-Type: text/plain; charset="utf-8" From: Peter Krempa The variable is declared as unsigned int but two places used '%d'. Reported-in: https://issues.redhat.com/browse/RHEL-95721 Signed-off-by: Peter Krempa --- Trivial. src/hypervisor/domain_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hypervisor/domain_driver.c b/src/hypervisor/domain_driver.c index 35966a5a8d..62bbe176ae 100644 --- a/src/hypervisor/domain_driver.c +++ b/src/hypervisor/domain_driver.c @@ -880,9 +880,9 @@ virDomainDriverAutoShutdown(virDomainDriverAutoShutdown= Config *cfg) } timer =3D g_timer_new(); - virSystemdNotifyStatus("Waiting %d secs for VM shutdown completion= ", + virSystemdNotifyStatus("Waiting %u secs for VM shutdown completion= ", cfg->waitShutdownSecs); - VIR_INFO("Waiting %d secs for VM shutdown completion", cfg->waitSh= utdownSecs); + VIR_INFO("Waiting %u secs for VM shutdown completion", cfg->waitSh= utdownSecs); while (1) { bool anyRunning =3D false; for (i =3D 0; i < numDomains; i++) { --=20 2.49.0