Skip to content

Commit 37f123b

Browse files
authored
Merge pull request #157 from mlpo/patch-1
Fix incorrect argument for `get_random_bytes` in `linux_kernel.h`
2 parents 6c58976 + 44fddd3 commit 37f123b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impl/random/linux_kernel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
static int
22
hydro_random_init(void)
33
{
4-
get_random_bytes(&hydro_random_context.state, sizeof hydro_random_context.state);
4+
get_random_bytes(hydro_random_context.state, sizeof hydro_random_context.state);
55
hydro_random_context.counter = ~LOAD64_LE(hydro_random_context.state);
66

77
return 0;

0 commit comments

Comments
 (0)