From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 49287138350 for ; Wed, 22 Jan 2020 20:11:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB99BE086D; Wed, 22 Jan 2020 20:11:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B880CE07A7 for ; Wed, 22 Jan 2020 20:11:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B5F234E1BD for ; Wed, 22 Jan 2020 20:11:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4853ED for ; Wed, 22 Jan 2020 20:11:28 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1579723835.1c0191cf3ffe4142c512fbd72f4fdd6e0260cb82.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qsize.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 1c0191cf3ffe4142c512fbd72f4fdd6e0260cb82 X-VCS-Branch: master Date: Wed, 22 Jan 2020 20:11:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0e3e5224-d259-40a0-a041-81fdfbfc140b X-Archives-Hash: 2c3609399ff2306c0f9912fa2a677797 commit: 1c0191cf3ffe4142c512fbd72f4fdd6e0260cb82 Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 22 20:10:35 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 22 20:10:35 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=1c0191cf qsize: fix Coverity 206536 Invalid printf format string Signed-off-by: Fabian Groffen gentoo.org> qsize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qsize.c b/qsize.c index 36b4d64..aa5e1d1 100644 --- a/qsize.c +++ b/qsize.c @@ -238,10 +238,10 @@ int qsize_main(int argc, char **argv) } if (state.summary) { - printf(" %sTotals%s: %'zu files, %'zu non-files, ", BOLD, NORM, + printf(" %sTotals%s: %zu files, %zu non-files, ", BOLD, NORM, state.num_all_files, state.num_all_nonfiles); if (state.num_all_ignored) - printf("%'zu names-ignored, ", state.num_all_ignored); + printf("%zu names-ignored, ", state.num_all_ignored); printf("%s %s\n", make_human_readable_str( state.num_all_bytes, 1, state.disp_units),