From e1841a50d6a570517c2f3c9b94b9496cb5b60a9e Mon Sep 17 00:00:00 2001 From: Felipe Matarazzo Date: Wed, 29 Apr 2026 13:14:35 -0300 Subject: [PATCH] fix typo: lenght -> length in netlink comment Signed-off-by: Felipe Matarazzo 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 e906e0d635a..00e85f9c1ff 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,