Package: util-linux Version: 2.11n-2 Severity: normal Tags: patch patch
When using hwclock --set or hwclock --systohc the drift value stored in /etc/adjtime is wrongly determined. It should be the calculated drift factor. -- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux kleene 2.4.17 #4 Thu Jan 17 21:19:38 CET 2002 i686 Locale: LANG=C, LC_CTYPE=C Versions of packages util-linux depends on: ii libc6 2.2.4-7 GNU C Library: Shared libraries an ii libncurses5 5.2.20010318-3 Shared libraries for terminal hand ii slang1 1.4.4-7 The S-Lang programming library - r
--- hwclock.c.orig Wed Jan 30 15:53:18 2002 +++ hwclock.c Wed Jan 30 15:55:14 2002 @@ -755,7 +755,7 @@ adjtime_p->drift_factor, factor_adjust ); - adjtime_p->drift_factor += factor_adjust; + adjtime_p->drift_factor = factor_adjust; } adjtime_p->last_calib_time = nowtime;