]> err.no Git - util-linux/commit
rtcwake: prefer RTC_WKALM_SET over RTC_ALM_SET
authorGabriel Burt <gburt@novell.com>
Tue, 5 Aug 2008 05:18:52 +0000 (00:18 -0500)
committerKarel Zak <kzak@redhat.com>
Mon, 11 Aug 2008 10:01:40 +0000 (12:01 +0200)
commit2a33540370cd6e17c4f6e7851c1ec62e171f2538
treecfb00357356da12e2ac30de448400f879fdc84f9
parentced94242e11e2ac121c9dae5c707bac5b47e501a
rtcwake: prefer RTC_WKALM_SET over RTC_ALM_SET

rtcwake: Prefer RTC_WKALM_SET over RTC_ALM_SET, fixing bug with not
waking up with new RTCs.  Also, return error if unable to set the alarm.

Signed-off-by: Gabriel Burt <gburt@novell.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/rtcwake.c