diff options
author | Karel Zak | 2017-11-27 12:37:53 +0100 |
---|---|---|
committer | Karel Zak | 2017-11-27 12:37:53 +0100 |
commit | e72027dadad83567dbc3c3e31e2f77005a3e0d78 (patch) | |
tree | 717aedc4633fd9766488a769d536d13ea7e273f2 /configure.ac | |
parent | libsmartcols: fix mem-leaks in samples (diff) | |
download | kernel-qcow2-util-linux-e72027dadad83567dbc3c3e31e2f77005a3e0d78.tar.gz kernel-qcow2-util-linux-e72027dadad83567dbc3c3e31e2f77005a3e0d78.tar.xz kernel-qcow2-util-linux-e72027dadad83567dbc3c3e31e2f77005a3e0d78.zip |
rtcwake: fix sys vs. rtc time delta usage
srett commented:
After some head scratching why relative wakeup using -s always works
while -t didn't seem to work at all I discovered that the adjustment
for time difference between sys and rtc is actually inverted when
writing the alarm (code for -m show reading is fine), so if the RTC
lags 10 minutes behind, the alarm will be shifted into the future by
10 minutes, resulting in a wakeup that is 20 minutes late.
Addresses: https://github.com/karelzak/util-linux/issues/544
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions