summaryrefslogtreecommitdiffstats
path: root/src/socket.c
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2022-12-24 17:35:40 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2022-12-28 10:53:35 +0100
commitac44797f71a43f5e5954cbef5b84ff52ffb5df75 (patch)
treea1f269823006f646fed8a88eaace76b013137b54 /src/socket.c
parentb923795047e701c10e0af22ba77a8bdab45e28ef (diff)
doc: fix some non-native English usages
"allows to" -> "allows ${pronoun} to". We use "you" if that appears in context, "one" otherwise. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index dbfb06c..85b6bcc 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -135,7 +135,7 @@ EXPORT_SYMBOL struct mnl_socket *mnl_socket_open(int bus)
* \param bus the netlink socket bus ID (see NETLINK_* constants)
* \param flags the netlink socket flags (see SOCK_* constants in socket(2))
*
- * This is similar to mnl_socket_open(), but allows to set flags like
+ * This is similar to mnl_socket_open(), but allows one to set flags like
* SOCK_CLOEXEC at socket creation time (useful for multi-threaded programs
* performing exec calls).
*