projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c58cc7
)
hwclock: tiny tweak in comment
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 7 Jan 2010 09:52:20 +0000
(10:52 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 7 Jan 2010 09:52:20 +0000
(10:52 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/hwclock.c
patch
|
blob
|
history
diff --git
a/util-linux/hwclock.c
b/util-linux/hwclock.c
index a8b0bdf935a77feca113e23ef7d11a6f97a2032e..ac89d45a2e0bda3086090c94a1cf487f08571b15 100644
(file)
--- 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;