From 69df9bf981358141161cc77ed490969d0c6a7930 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 12 Aug 2019 18:18:51 -0700 Subject: [PATCH] tc: fix spelling errors Minor spelling errors found by codespell Signed-off-by: Stephen Hemminger --- tc/em_ipt.c | 2 +- tc/q_netem.c | 2 +- tc/tc_cbq.c | 2 +- tc/tc_filter.c | 4 ++-- tc/tc_red.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tc/em_ipt.c b/tc/em_ipt.c index aa2edd63c..b15c3ba56 100644 --- a/tc/em_ipt.c +++ b/tc/em_ipt.c @@ -1,5 +1,5 @@ /* - * em_ipt.c IPtables extenstions matching Ematch + * em_ipt.c IPtables extensions matching Ematch * * (C) 2018 Eyal Birger * diff --git a/tc/q_netem.c b/tc/q_netem.c index 6d748f680..d01450fc5 100644 --- a/tc/q_netem.c +++ b/tc/q_netem.c @@ -39,7 +39,7 @@ static void explain(void) " [ loss state P13 [P31 [P32 [P23 P14]]]\n" \ " [ loss gemodel PERCENT [R [1-H [1-K]]]\n" \ " [ ecn ]\n" \ - " [ reorder PRECENT [CORRELATION] [ gap DISTANCE ]]\n" \ + " [ reorder PERCENT [CORRELATION] [ gap DISTANCE ]]\n" \ " [ rate RATE [PACKETOVERHEAD] [CELLSIZE] [CELLOVERHEAD]]\n" \ " [ slot MIN_DELAY [MAX_DELAY] [packets MAX_PACKETS]" \ " [bytes MAX_BYTES]]\n" \ diff --git a/tc/tc_cbq.c b/tc/tc_cbq.c index c811456b1..f56011ad1 100644 --- a/tc/tc_cbq.c +++ b/tc/tc_cbq.c @@ -1,5 +1,5 @@ /* - * tc_cbq.c CBQ maintanance routines. + * tc_cbq.c CBQ maintenance routines. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/tc/tc_filter.c b/tc/tc_filter.c index 23e21d89d..f7d2e4a66 100644 --- a/tc/tc_filter.c +++ b/tc/tc_filter.c @@ -414,7 +414,7 @@ static int tc_filter_get(int cmd, unsigned int flags, int argc, char **argv) if (d[0]) duparg("dev", *argv); if (block_index) { - fprintf(stderr, "Error: \"dev\" and \"block\" are mutually exlusive\n"); + fprintf(stderr, "Error: \"dev\" and \"block\" are mutually exclusive\n"); return -1; } strncpy(d, *argv, sizeof(d)-1); @@ -423,7 +423,7 @@ static int tc_filter_get(int cmd, unsigned int flags, int argc, char **argv) if (block_index) duparg("block", *argv); if (d[0]) { - fprintf(stderr, "Error: \"dev\" and \"block\" are mutually exlusive\n"); + fprintf(stderr, "Error: \"dev\" and \"block\" are mutually exclusive\n"); return -1; } if (get_u32(&block_index, *argv, 0) || !block_index) diff --git a/tc/tc_red.c b/tc/tc_red.c index 3ce3ca428..681ca2971 100644 --- a/tc/tc_red.c +++ b/tc/tc_red.c @@ -1,5 +1,5 @@ /* - * tc_red.c RED maintanance routines. + * tc_red.c RED maintenance routines. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License -- 2.47.2