Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71929
b: refs/heads/master
c: 7210c67
h: refs/heads/master
i:
  71927: 41eb10a
v: v3
  • Loading branch information
Kyle McMartin committed Oct 20, 2007
1 parent f9cd019 commit a1d123e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 562d139cc587fc7f7fb8e07aad13cdd2a412c9a7
refs/heads/master: 7210c678202bb3107085bffeb63f66a9b8ba1c85
4 changes: 2 additions & 2 deletions trunk/include/asm-parisc/rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ static inline unsigned int get_rtc_time(struct rtc_time *wtime)
long int days, rem, y;
const unsigned short int *ip;

if(pdc_tod_read(&tod_data) < 0)
memset(wtime, 0, sizeof(*wtime));
if (pdc_tod_read(&tod_data) < 0)
return RTC_24H | RTC_BATT_BAD;


// most of the remainder of this function is:
// Copyright (C) 1991, 1993, 1997, 1998 Free Software Foundation, Inc.
// This was originally a part of the GNU C Library.
Expand Down

0 comments on commit a1d123e

Please sign in to comment.