← Commit list

053ffeeed

Denys Vlasenko
Denys Vlasenko
2010-01-07
FAILED Duration: 28s

Subject

hwclock: tiny tweak in comment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/hwclock.c+1 -1
@@ -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;