summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2023-01-18 18:04:22 +0100
committerDenys Vlasenko2023-01-18 18:04:22 +0100
commit1040f78176c7dad57aadbbd023e8ac094606ac25 (patch)
tree1c074e0960fe2b8c1ab44ebee6c51170de9c9b14
parent479bd7af0d24d123326c1ceb447e015e9e2955d7 (diff)
downloadbusybox-1040f78176c7dad57aadbbd023e8ac094606ac25.zip
busybox-1040f78176c7dad57aadbbd023e8ac094606ac25.tar.gz
ntpd: correct comment: 2^-20 is ~1 microsecond (confused with 10^-20)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/ntpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c
index db04eb2..c7519b8 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -1040,7 +1040,7 @@ step_time(double offset)
/* This code adds floating point value on the order of 1.0
* to a value of ~4 billion (as of years 203x).
* With 52-bit mantissa, "only" 20 bits of offset's precision
- * are used (0.01 attosecond), the rest is lost.
+ * are used (~1 microsecond), the rest is lost.
* Some 200 billion years later, when tvc.tv_sec would have
* 63 significant bits, the precision loss would be catastrophic,
* a more complex code would be needed.