patch-2.4.24 linux-2.4.24/drivers/char/ip27-rtc.c
Next file: linux-2.4.24/drivers/char/mips_rtc.c
Previous file: linux-2.4.24/drivers/char/efirtc.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
2004-01-05 05:53:56.000000000 -0800
- Orig file:
linux-2.4.23/drivers/char/ip27-rtc.c
- Orig date:
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.23/drivers/char/ip27-rtc.c linux-2.4.24/drivers/char/ip27-rtc.c
@@ -83,6 +83,7 @@
switch (cmd) {
case RTC_RD_TIME: /* Read the time/date from RTC */
{
+ memset(&wtime, 0, sizeof(struct rtc_time));
get_rtc_time(&wtime);
break;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)