summaryrefslogtreecommitdiff
path: root/lib/crypto/entropy.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/entropy.myr')
-rw-r--r--lib/crypto/entropy.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/entropy.myr b/lib/crypto/entropy.myr
index b5c5120..8120791 100644
--- a/lib/crypto/entropy.myr
+++ b/lib/crypto/entropy.myr
@@ -7,7 +7,7 @@ pkg crypto =
var randfd
const __init__ = {
- randfd = std.try(std.open("/dev/random", std.Ordonly))
+ randfd = std.try(std.open("/dev/random", std.Oread))
}
const getentropy = {buf