aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Claudi <aclaudi@redhat.com>2024-02-09 16:25:45 +0100
committerStephen Hemminger <stephen@networkplumber.org>2024-02-09 08:45:10 -0800
commit9cf6493cab29533998fca32dc3d5e71838ae279f (patch)
treef983e35fce5613b5d31b8865ea0e6d29a3d10029
parent8f340a07513858570cffcef7d5667a50a4f37458 (diff)
downloadiproute2-9cf6493cab29533998fca32dc3d5e71838ae279f.tar.gz
treewide: fix typos in various comments
Fix various typos and spelling errors in some iproute2 comments. Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Andrea Claudi <aclaudi@redhat.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--include/bpf_api.h2
-rw-r--r--include/xt-internal.h2
-rw-r--r--tc/q_netem.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/bpf_api.h b/include/bpf_api.h
index 5887d3a85..287f96b62 100644
--- a/include/bpf_api.h
+++ b/include/bpf_api.h
@@ -253,7 +253,7 @@ static int BPF_FUNC(skb_set_tunnel_opt, struct __sk_buff *skb,
# define memmove(d, s, n) __builtin_memmove((d), (s), (n))
#endif
-/* FIXME: __builtin_memcmp() is not yet fully useable unless llvm bug
+/* FIXME: __builtin_memcmp() is not yet fully usable unless llvm bug
* https://llvm.org/bugs/show_bug.cgi?id=26218 gets resolved. Also
* this one would generate a reloc entry (non-map), otherwise.
*/
diff --git a/include/xt-internal.h b/include/xt-internal.h
index 89c73e4fe..072161409 100644
--- a/include/xt-internal.h
+++ b/include/xt-internal.h
@@ -6,7 +6,7 @@
# define XT_LIB_DIR "/lib/xtables"
#endif
-/* protocol family dependent informations */
+/* protocol family dependent information */
struct afinfo {
/* protocol family */
int family;
diff --git a/tc/q_netem.c b/tc/q_netem.c
index 5d5aad808..4ce9ab6e5 100644
--- a/tc/q_netem.c
+++ b/tc/q_netem.c
@@ -117,7 +117,7 @@ static void print_corr(bool present, __u32 value)
}
/*
- * Simplistic file parser for distrbution data.
+ * Simplistic file parser for distribution data.
* Format is:
* # comment line(s)
* data0 data1 ...