git: e1841a50d6a5 - main - fix typo: lenght -> length in netlink comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Apr 2026 16:31:04 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=e1841a50d6a570517c2f3c9b94b9496cb5b60a9e
commit e1841a50d6a570517c2f3c9b94b9496cb5b60a9e
Author: Felipe Matarazzo <felipemps@protonmail.com>
AuthorDate: 2026-04-29 16:14:35 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-04-30 16:29:17 +0000
fix typo: lenght -> length in netlink comment
Signed-off-by: Felipe Matarazzo <felipemps@protonmail.com>
Reviewed-by: ngie
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2174
---
sys/netlink/netlink_domain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netlink/netlink_domain.c b/sys/netlink/netlink_domain.c
index e906e0d635af..00e85f9c1ff1 100644
--- a/sys/netlink/netlink_domain.c
+++ b/sys/netlink/netlink_domain.c
@@ -724,7 +724,7 @@ nl_soreceive(struct socket *so, struct sockaddr **psa, struct uio *uio,
* least one message, we would return it and won't truncate the next.
*
* We use same code for normal and MSG_PEEK case. At first queue pass
- * we scan nl_bufs and count lenght. In case we can read entire buffer
+ * we scan nl_bufs and count length. In case we can read entire buffer
* at one write everything is trivial. In case we can not, we save
* pointer to the last (or partial) nl_buf and in the !peek case we
* split the queue into two pieces. We can safely drop the queue lock,