aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/sys_getrandom.c
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2020-01-12 23:52:16 +0000
committerConrad Meyer <cem@FreeBSD.org>2020-01-12 23:52:16 +0000
commit365cd52245ebc1d13a68671607856dc989fd95c7 (patch)
tree6158dab41f4e7ccc7c616448afe41b2c98d4f635 /sys/kern/sys_getrandom.c
parent86def3dcd66af169aac0c6ff91dd94a98369cc89 (diff)
downloadsrc-365cd52245ebc1d13a68671607856dc989fd95c7.tar.gz
src-365cd52245ebc1d13a68671607856dc989fd95c7.zip
Fix a typo in r356667 comment
No functional change. Reported by: bdragon Approved by: csprng(markm), earlier version X-MFC-With: r356667
Notes
Notes: svn path=/head/; revision=356668
Diffstat (limited to 'sys/kern/sys_getrandom.c')
-rw-r--r--sys/kern/sys_getrandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sys_getrandom.c b/sys/kern/sys_getrandom.c
index 612820cdbcc3..f58d0fe2af57 100644
--- a/sys/kern/sys_getrandom.c
+++ b/sys/kern/sys_getrandom.c
@@ -69,7 +69,7 @@ kern_getrandom(struct thread *td, void *user_buf, size_t buflen,
* blocking, when the Linux API does not block.
*
* 2. Alternatively, we could treat GRND_INSECURE requests as requests
- * for GRND_NONBLOCk. Here, the surprising result for Linux programs
+ * for GRND_NONBLOCK. Here, the surprising result for Linux programs
* is that invocations with unseeded random(4) will produce EAGAIN,
* rather than garbage.
*