Date: Mon, 31 Jul 2023 12:59:00 GMT From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: e23f701a351a - stable/13 - sys_getrandom: fix a function reference in a comment Message-ID: <202307311259.36VCx0bE093839@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=e23f701a351ab57e6ea73586b458a1056f94c16c commit e23f701a351ab57e6ea73586b458a1056f94c16c Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2023-07-24 13:48:38 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2023-07-31 12:54:01 +0000 sys_getrandom: fix a function reference in a comment MFC after: 3 days Sponsored by: FreeBSD Foundation (cherry picked from commit a4e4ea738b738a355f5042b02ca9d8bbb78af236) --- 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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307311259.36VCx0bE093839>