diff options
-rw-r--r-- | kconfig/macos_miniconfig | 1 | ||||
-rw-r--r-- | toys/pending/rtcwake.c | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/kconfig/macos_miniconfig b/kconfig/macos_miniconfig index b9bf6a3a..71663137 100644 --- a/kconfig/macos_miniconfig +++ b/kconfig/macos_miniconfig @@ -11,7 +11,6 @@ CONFIG_CRC32=y CONFIG_CMP=y CONFIG_COMM=y CONFIG_CP=y -CONFIG_CP_PRESERVE=y CONFIG_CPIO=y CONFIG_CUT=y CONFIG_DATE=y diff --git a/toys/pending/rtcwake.c b/toys/pending/rtcwake.c index 0929d51f..0da1de6b 100644 --- a/toys/pending/rtcwake.c +++ b/toys/pending/rtcwake.c @@ -37,14 +37,13 @@ config RTCWAKE GLOBALS( long long t, s; char *m, *d; - - struct rtc_wkalrm alarm; ) void rtcwake_main(void) { - time_t now, rtc_now, then; + struct rtc_wkalrm alarm = {}; struct tm rtc_tm; + time_t now, rtc_now, then; int fd, utc; if (FLAG(list_modes)) { |