tc: minor spelling fixes

This commit is contained in:
Stephen Hemminger 2014-12-03 19:28:34 -08:00
parent 14e9767330
commit b2e116d6c3
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
* *
* Authors: J Hadi Salim <jhs@mojatatu.com> * Authors: J Hadi Salim <jhs@mojatatu.com>
* *
* Pedagogical example. Adds a string that will be printed everytime * Pedagogical example. Adds a string that will be printed every time
* the simple instance is hit. * the simple instance is hit.
* Use this as a skeleton action and keep modifying it to meet your needs. * Use this as a skeleton action and keep modifying it to meet your needs.
* Look at linux/tc_act/tc_defact.h for the different components ids and * Look at linux/tc_act/tc_defact.h for the different components ids and

View File

@ -175,7 +175,7 @@ static int parse_ipt(struct action_util *a,int *argc_p,
&m->option_offset); &m->option_offset);
#endif #endif
if (opts == NULL) { if (opts == NULL) {
fprintf(stderr, " failed to find aditional options for target %s\n\n", optarg); fprintf(stderr, " failed to find additional options for target %s\n\n", optarg);
return -1; return -1;
} else } else
tcipt_globals.opts = opts; tcipt_globals.opts = opts;
@ -346,7 +346,7 @@ print_ipt(struct action_util *au,FILE * f, struct rtattr *arg)
&m->option_offset); &m->option_offset);
#endif #endif
if (opts == NULL) { if (opts == NULL) {
fprintf(stderr, " failed to find aditional options for target %s\n\n", optarg); fprintf(stderr, " failed to find additional options for target %s\n\n", optarg);
return -1; return -1;
} else } else
tmp_tcipt_globals.opts = opts; tmp_tcipt_globals.opts = opts;