Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2023 13:51:00 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a4e4ea738b73 - main - sys_getrandom: fix a function reference in a comment
Message-ID:  <202307241351.36ODp0Ej089757@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=a4e4ea738b738a355f5042b02ca9d8bbb78af236

commit a4e4ea738b738a355f5042b02ca9d8bbb78af236
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2023-07-24 13:48:38 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
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.
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307241351.36ODp0Ej089757>