commit 02e8711015f4c3d5e41a0f0fceb42f969de9b529
parent 8ca1ab5503d312ae9bf3c18c696d18ae06fcb2fc
Author: Sebastian <sebastian@sebsite.pw>
Date: Wed, 23 Feb 2022 15:11:13 -0500
crypto::random: fix typos
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/crypto/random/+freebsd.ha b/crypto/random/+freebsd.ha
@@ -8,7 +8,7 @@ use io;
// Fills the given buffer with cryptographically random data. If the system is
// unable to provide random data, abort. If you need to handle errors or want to
// use whatever random data the system can provide, even if less than the
-// requested amont, use [[stream]] instead.
+// requested amount, use [[stream]] instead.
export fn buffer(buf: []u8) void = {
let n = 0z;
for (n < len(buf)) {
diff --git a/crypto/random/+linux.ha b/crypto/random/+linux.ha
@@ -8,7 +8,7 @@ use io;
// Fills the given buffer with cryptographically random data. If the system is
// unable to provide random data, abort. If you need to handle errors or want to
// use whatever random data the system can provide, even if less than the
-// requested amont, use [[stream]] instead.
+// requested amount, use [[stream]] instead.
export fn buffer(buf: []u8) void = {
let n = 0z;
for (n < len(buf)) {