diff options
| author | Felipe Matarazzo <felipemps@protonmail.com> | 2026-04-29 16:14:35 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-04-30 16:29:17 +0000 |
| commit | e1841a50d6a570517c2f3c9b94b9496cb5b60a9e (patch) | |
| tree | cf45d6bbdb473b6b41f9b7f77ba5bbda399077f4 | |
| parent | 713332b4eb79be2ca6de36c47853eef099214913 (diff) | |
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
| -rw-r--r-- | sys/netlink/netlink_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
