aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-03-12 09:04:24 +0100
committerFabian Groffen <grobian@gentoo.org>2019-03-12 09:04:24 +0100
commitccd134cdd4b7d053fd87fbe30f98f9e6c4f9e32e (patch)
treed9cd35a3105e51826b643f0d06b57868d0a91ecf
parentbuild: shuffle some code around (diff)
downloadportage-utils-ccd134cd.tar.gz
portage-utils-ccd134cd.tar.bz2
portage-utils-ccd134cd.zip
main: reduce overeager timestamp precision in initialize_flat
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r--main.c5
1 files 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)