The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=a4e4ea738b738a355f5042b02ca9d8bbb78af236
commit a4e4ea738b738a355f5042b02ca9d8bbb78af236 Author: Mitchell Horne <[email protected]> AuthorDate: 2023-07-24 13:48:38 +0000 Commit: Mitchell Horne <[email protected]> CommitDate: 2023-07-24 13:50:04 +0000 sys_getrandom: fix a function reference in a comment MFC after: 3 days Sponsored by: FreeBSD Foundation --- sys/kern/sys_getrandom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/sys_getrandom.c b/sys/kern/sys_getrandom.c index 929a3ebe21af..fe87c70488bc 100644 --- a/sys/kern/sys_getrandom.c +++ b/sys/kern/sys_getrandom.c @@ -41,7 +41,7 @@ __FBSDID("$FreeBSD$"); #define GRND_VALIDFLAGS (GRND_NONBLOCK | GRND_RANDOM | GRND_INSECURE) /* - * random_read_uio(9) returns EWOULDBLOCK if a nonblocking request would block, + * read_random_uio(9) returns EWOULDBLOCK if a nonblocking request would block, * but the Linux API name is EAGAIN. On FreeBSD, they have the same numeric * value for now. */
