Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186327
b: refs/heads/master
c: 870a276
h: refs/heads/master
i:
  186325: 0bd0f08
  186323: 6cc4eb3
  186319: 42dda32
v: v3
  • Loading branch information
Julia Lawall authored and Linus Torvalds committed Mar 6, 2010
1 parent e78dedd commit 2d5b745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: b51e8293182764ca7b1a1bdb28a5c5dc60152c76
refs/heads/master: 870a2761a8df7dea7449b4225c9babcf22c6ead4
2 changes: 1 addition & 1 deletion trunk/drivers/rtc/rtc-at91sam9.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static int at91_rtc_readalarm(struct device *dev, struct rtc_wkalrm *alrm)
if (offset == 0)
return -EILSEQ;

memset(alrm, 0, sizeof(alrm));
memset(alrm, 0, sizeof(*alrm));
if (alarm != ALARM_DISABLED && offset != 0) {
rtc_time_to_tm(offset + alarm, tm);

Expand Down

0 comments on commit 2d5b745

Please sign in to comment.