From b8a45897b9029ac38ee829b3a7eb8551fddebd51 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Sun, 4 Aug 2013 15:10:05 -0700 Subject: [PATCH] More minor spelling fixes --- tc/m_ipt.c | 2 +- tc/m_mirred.c | 8 ++++---- tc/m_xt.c | 2 +- tc/m_xt_old.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tc/m_ipt.c b/tc/m_ipt.c index dc2dedc0..bb016f17 100644 --- a/tc/m_ipt.c +++ b/tc/m_ipt.c @@ -415,7 +415,7 @@ static int parse_ipt(struct action_util *a,int *argc_p, } if (argc <= 2) { - fprintf(stderr,"bad arguements to ipt %d vs %d \n", argc, rargc); + fprintf(stderr,"bad arguments to ipt %d vs %d \n", argc, rargc); return -1; } diff --git a/tc/m_mirred.c b/tc/m_mirred.c index 1ef9f2bd..dc231d7c 100644 --- a/tc/m_mirred.c +++ b/tc/m_mirred.c @@ -105,7 +105,7 @@ parse_egress(struct action_util *a, int *argc_p, char ***argv_p, } else if (!mirror && matches(*argv, "mirror") == 0) { mirror=1; if (redir) { - fprintf(stderr, "Cant have both mirror and redir\n"); + fprintf(stderr, "Can't have both mirror and redir\n"); return -1; } p.eaction = TCA_EGRESS_MIRROR; @@ -114,7 +114,7 @@ parse_egress(struct action_util *a, int *argc_p, char ***argv_p, } else if (!redir && matches(*argv, "redirect") == 0) { redir=1; if (mirror) { - fprintf(stderr, "Cant have both mirror and redir\n"); + fprintf(stderr, "Can't have both mirror and redir\n"); return -1; } p.eaction = TCA_EGRESS_REDIR; @@ -215,14 +215,14 @@ parse_mirred(struct action_util *a, int *argc_p, char ***argv_p, char **argv = *argv_p; if (argc < 0) { - fprintf(stderr,"mirred bad arguement count %d\n", argc); + fprintf(stderr,"mirred bad argument count %d\n", argc); return -1; } if (matches(*argv, "mirred") == 0) { NEXT_ARG(); } else { - fprintf(stderr,"mirred bad arguement %s\n", *argv); + fprintf(stderr,"mirred bad argument %s\n", *argv); return -1; } diff --git a/tc/m_xt.c b/tc/m_xt.c index e9186709..27029c1b 100644 --- a/tc/m_xt.c +++ b/tc/m_xt.c @@ -147,7 +147,7 @@ static int parse_ipt(struct action_util *a,int *argc_p, } if (argc <= 2) { - fprintf(stderr,"bad arguements to ipt %d vs %d \n", argc, rargc); + fprintf(stderr,"bad arguments to ipt %d vs %d \n", argc, rargc); return -1; } diff --git a/tc/m_xt_old.c b/tc/m_xt_old.c index 554e4ed4..4d61a5ab 100644 --- a/tc/m_xt_old.c +++ b/tc/m_xt_old.c @@ -232,7 +232,7 @@ static int parse_ipt(struct action_util *a,int *argc_p, } if (argc <= 2) { - fprintf(stderr,"bad arguements to ipt %d vs %d \n", argc, rargc); + fprintf(stderr,"bad arguments to ipt %d vs %d \n", argc, rargc); return -1; } -- 2.39.5