[git commit master] hwclock: tiny tweak in comment
Denys Vlasenko
vda.linux at googlemail.com
Thu Jan 7 09:52:20 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=053ffeeeda923eb5e8c6f18d1d614d4f8d1de4a2
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
util-linux/hwclock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index a8b0bdf..ac89d45 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -83,7 +83,7 @@ static void show_clock(const char **pp_rtcname, int utc)
/* diff >= 0 is ok: diff < 0, can't just use tv.tv_usec: */
/* 45.520820 43.520820 */
/* - 44.000000 - 45.000000 */
- /* = 0.520820 = -1.479180, not -2.520820! */
+ /* = 1.520820 = -1.479180, not -2.520820! */
diff++;
/* should be 1000000 - tv.tv_usec, but then we must check tv.tv_usec != 0 */
sys_tv.tv_usec = 999999 - sys_tv.tv_usec;
--
1.6.3.3
More information about the busybox-cvs
mailing list