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 C1AAA138334 for ; Tue, 12 Mar 2019 08:05:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B1BFE0932; Tue, 12 Mar 2019 08:05:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 6BB7DE0932 for ; Tue, 12 Mar 2019 08:05:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 41AB0335C97 for ; Tue, 12 Mar 2019 08:05:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A6B1517 for ; Tue, 12 Mar 2019 08:05:09 +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: <1552377864.ccd134cdd4b7d053fd87fbe30f98f9e6c4f9e32e.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: main.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: ccd134cdd4b7d053fd87fbe30f98f9e6c4f9e32e X-VCS-Branch: master Date: Tue, 12 Mar 2019 08:05:09 +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: 8e0d65a0-cce5-45cc-86bf-13887646a7a3 X-Archives-Hash: 062f917e306f1994fc2ee34ecdd208c6 commit: ccd134cdd4b7d053fd87fbe30f98f9e6c4f9e32e Author: Fabian Groffen gentoo org> AuthorDate: Tue Mar 12 08:04:24 2019 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Mar 12 08:04:24 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=ccd134cd main: reduce overeager timestamp precision in initialize_flat Signed-off-by: Fabian Groffen gentoo.org> main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 044777c..4bc9130 100644 --- a/main.c +++ b/main.c @@ -1143,9 +1143,10 @@ initialize_flat(const char *overlay, int cache_type, bool force) if (secs < 0) secs = 0; if (frac < 0) frac = 0; - warn("Finished %u entries in %d.%06d seconds", count, secs, frac); + warn("Finished %u entries in %d.%02d seconds", count, secs, frac); if (secs > 120) - warn("You should consider using the noatime mount option for '%s' if it's not already enabled", overlay); + warn("You should consider using the noatime mount option " + "for '%s' if it's not already enabled", overlay); ret: close(subdir_fd); if (subdir_fd != overlay_fd)