svn commit: r356668 - head/sys/kern

Conrad Meyer cem at FreeBSD.org
Sun Jan 12 23:52:17 UTC 2020


Author: cem
Date: Sun Jan 12 23:52:16 2020
New Revision: 356668
URL: https://svnweb.freebsd.org/changeset/base/356668

Log:
  Fix a typo in r356667 comment
  
  No functional change.
  
  Reported by:	bdragon
  Approved by:	csprng(markm), earlier version
  X-MFC-With:	r356667

Modified:
  head/sys/kern/sys_getrandom.c

Modified: head/sys/kern/sys_getrandom.c
==============================================================================
--- head/sys/kern/sys_getrandom.c	Sun Jan 12 20:47:38 2020	(r356667)
+++ head/sys/kern/sys_getrandom.c	Sun Jan 12 23:52:16 2020	(r356668)
@@ -69,7 +69,7 @@ kern_getrandom(struct thread *td, void *user_buf, size
 	 * 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.
 	 *


More information about the svn-src-all mailing list