diff options
-rw-r--r-- | sys-utils/rtcwake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c index ebfd420e2..a53ed48f9 100644 --- a/sys-utils/rtcwake.c +++ b/sys-utils/rtcwake.c @@ -207,7 +207,7 @@ static int get_basetimes(struct rtcwake_control *ctl, int fd) static int setup_alarm(struct rtcwake_control *ctl, int fd, time_t *wakeup) { struct tm *tm; - struct rtc_wkalrm wake; + struct rtc_wkalrm wake = { 0 }; /* The wakeup time is in POSIX time (more or less UTC). Ideally * RTCs use that same time; but PCs can't do that if they need to |