patch-2.4.24 linux-2.4.24/drivers/char/efirtc.c
Next file: linux-2.4.24/drivers/char/ip27-rtc.c
Previous file: linux-2.4.24/drivers/char/ds1286.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/efirtc.c
- Orig date:
2003-06-13 07:51:32.000000000 -0700
diff -urN linux-2.4.23/drivers/char/efirtc.c linux-2.4.24/drivers/char/efirtc.c
@@ -118,6 +118,7 @@
static void
convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime)
{
+ memset(wtime, 0, sizeof(struct rtc_time));
wtime->tm_sec = eft->second;
wtime->tm_min = eft->minute;
wtime->tm_hour = eft->hour;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)