aboutsummaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-07 10:52:20 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-07 10:52:20 +0100
commit053ffeeeda923eb5e8c6f18d1d614d4f8d1de4a2 (patch)
tree76769059ca26c99ab2685b9cc2cb274f1c9483c3 /util-linux/hwclock.c
parent0c58cc706fff6a2a954e92ea271ce2b400dee60e (diff)
downloadbusybox-w32-053ffeeeda923eb5e8c6f18d1d614d4f8d1de4a2.tar.gz
busybox-w32-053ffeeeda923eb5e8c6f18d1d614d4f8d1de4a2.tar.bz2
busybox-w32-053ffeeeda923eb5e8c6f18d1d614d4f8d1de4a2.zip
hwclock: tiny tweak in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/hwclock.c')
-rw-r--r--util-linux/hwclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index a8b0bdf93..ac89d45a2 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)
83 /* diff >= 0 is ok: diff < 0, can't just use tv.tv_usec: */ 83 /* diff >= 0 is ok: diff < 0, can't just use tv.tv_usec: */
84 /* 45.520820 43.520820 */ 84 /* 45.520820 43.520820 */
85 /* - 44.000000 - 45.000000 */ 85 /* - 44.000000 - 45.000000 */
86 /* = 0.520820 = -1.479180, not -2.520820! */ 86 /* = 1.520820 = -1.479180, not -2.520820! */
87 diff++; 87 diff++;
88 /* should be 1000000 - tv.tv_usec, but then we must check tv.tv_usec != 0 */ 88 /* should be 1000000 - tv.tv_usec, but then we must check tv.tv_usec != 0 */
89 sys_tv.tv_usec = 999999 - sys_tv.tv_usec; 89 sys_tv.tv_usec = 999999 - sys_tv.tv_usec;