Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275602
b: refs/heads/master
c: 0d2f096
h: refs/heads/master
v: v3
  • Loading branch information
Luck, Tony authored and H. Peter Anvin committed Nov 17, 2011
1 parent b95879d commit c12a6c3
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: 78345d2edc25e001558f3b7c85906f645d38d23c
refs/heads/master: 0d2f096b8785b67c38afcf6e1fbb9674af2e05ca
2 changes: 1 addition & 1 deletion trunk/drivers/char/random.c
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ void get_random_bytes(void *buf, int nbytes)
if (!arch_get_random_long(&v))
break;

memcpy(buf, &v, chunk);
memcpy(p, &v, chunk);
p += chunk;
nbytes -= chunk;
}
Expand Down

0 comments on commit c12a6c3

Please sign in to comment.