commit: ccd134cdd4b7d053fd87fbe30f98f9e6c4f9e32e
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 08:04:24 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> 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 <grobian <AT> 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)