]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
More minor spelling fixes
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 4 Aug 2013 22:10:05 +0000 (15:10 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 4 Aug 2013 22:10:05 +0000 (15:10 -0700)
tc/m_ipt.c
tc/m_mirred.c
tc/m_xt.c
tc/m_xt_old.c

index dc2dedc0dd9ce7b481b462b797f29f1edf36798d..bb016f17fd8d15eeef192b1cf6c9c7e6551292f0 100644 (file)
@@ -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;
        }
 
index 1ef9f2bd2ce035e91017d8307b13989ba3a8007f..dc231d7cd0384b2deb241e32713b04087a445349 100644 (file)
@@ -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;
        }
 
index e918670935bbb54c25cfce489d0cf2b3e916e9c5..27029c1b56815f69f3b852ac64434428fb8d9f90 100644 (file)
--- 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;
        }
 
index 554e4ed47af1656ec9cfd68c7e59c5c8fc658786..4d61a5aba82f58edba917e2494a4d11cd935f617 100644 (file)
@@ -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;
        }