From: Michiel Date: Mon, 14 Oct 2024 13:50:36 +0000 (+0200) Subject: Fix some typos in socket-util.h X-Git-Tag: v257-rc1~234 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2053182bd10c9c1cff0af6ec70c42e1aad321e09;p=thirdparty%2Fsystemd.git Fix some typos in socket-util.h --- diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index ba86b907a7e..874e559a4b3 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -29,7 +29,7 @@ union sockaddr_union { /* The libc provided version that allocates "enough room" for every protocol */ struct sockaddr_storage storage; - /* Protoctol-specific implementations */ + /* Protocol-specific implementations */ struct sockaddr_in in; struct sockaddr_in6 in6; struct sockaddr_un un; @@ -390,7 +390,7 @@ int socket_address_parse_unix(SocketAddress *ret_address, const char *s); int socket_address_parse_vsock(SocketAddress *ret_address, const char *s); /* libc's SOMAXCONN is defined to 128 or 4096 (at least on glibc). But actually, the value can be much - * larger. In our codebase we want to set it to the max usually, since noawadays socket memory is properly + * larger. In our codebase we want to set it to the max usually, since nowadays socket memory is properly * tracked by memcg, and hence we don't need to enforce extra limits here. Moreover, the kernel caps it to * /proc/sys/net/core/somaxconn anyway, thus by setting this to unbounded we just make that sysctl file * authoritative. */