1 |
commit: ccd134cdd4b7d053fd87fbe30f98f9e6c4f9e32e |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 12 08:04:24 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 12 08:04:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=ccd134cd |
7 |
|
8 |
main: reduce overeager timestamp precision in initialize_flat |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
main.c | 5 +++-- |
13 |
1 file changed, 3 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/main.c b/main.c |
16 |
index 044777c..4bc9130 100644 |
17 |
--- a/main.c |
18 |
+++ b/main.c |
19 |
@@ -1143,9 +1143,10 @@ initialize_flat(const char *overlay, int cache_type, bool force) |
20 |
if (secs < 0) secs = 0; |
21 |
if (frac < 0) frac = 0; |
22 |
|
23 |
- warn("Finished %u entries in %d.%06d seconds", count, secs, frac); |
24 |
+ warn("Finished %u entries in %d.%02d seconds", count, secs, frac); |
25 |
if (secs > 120) |
26 |
- warn("You should consider using the noatime mount option for '%s' if it's not already enabled", overlay); |
27 |
+ warn("You should consider using the noatime mount option " |
28 |
+ "for '%s' if it's not already enabled", overlay); |
29 |
ret: |
30 |
close(subdir_fd); |
31 |
if (subdir_fd != overlay_fd) |