Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275514
b: refs/heads/master
c: bd29e56
h: refs/heads/master
v: v3
  • Loading branch information
Luck, Tony authored and Linus Torvalds committed Nov 17, 2011
1 parent f725653 commit f18b8db
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: 869f8dfa52295e75e043af618e47305e4b109bc1
refs/heads/master: bd29e568a4cb6465f6e5ec7c1c1f3ae7d99cbec1
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 f18b8db

Please sign in to comment.