naccyde / rpms / iproute

Forked from rpms/iproute 5 months ago
Clone

Blame SOURCES/0126-tc-minor-spelling-fixes.patch

049c96
From 360643aed5b1cc553dbcfb34276ef1ad5589e7bf Mon Sep 17 00:00:00 2001
049c96
From: Phil Sutter <psutter@redhat.com>
049c96
Date: Fri, 11 Mar 2016 15:38:09 +0100
049c96
Subject: [PATCH] tc: minor spelling fixes
049c96
049c96
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1315930
049c96
Upstream Status: iproute2.git commit b2e116d6c395a
049c96
049c96
commit b2e116d6c395ad079c0c488f22a7be06efad0102
049c96
Author: Stephen Hemminger <shemming@brocade.com>
049c96
Date:   Wed Dec 3 19:28:34 2014 -0800
049c96
049c96
    tc: minor spelling fixes
049c96
---
049c96
 tc/m_simple.c | 2 +-
049c96
 tc/m_xt.c     | 4 ++--
049c96
 2 files changed, 3 insertions(+), 3 deletions(-)
049c96
049c96
diff --git a/tc/m_simple.c b/tc/m_simple.c
049c96
index a8e1d6b..b61aca7 100644
049c96
--- a/tc/m_simple.c
049c96
+++ b/tc/m_simple.c
049c96
@@ -8,7 +8,7 @@
049c96
  *
049c96
  * Authors:	J Hadi Salim <jhs@mojatatu.com>
049c96
  *
049c96
- * Pedagogical example. Adds a string that will be printed everytime
049c96
+ * Pedagogical example. Adds a string that will be printed every time
049c96
  * the simple instance is hit. 
049c96
  * Use this as a skeleton action and keep modifying it to meet your needs.
049c96
  * Look at linux/tc_act/tc_defact.h for the different components ids and
049c96
diff --git a/tc/m_xt.c b/tc/m_xt.c
049c96
index 48aac90..537daf8 100644
049c96
--- a/tc/m_xt.c
049c96
+++ b/tc/m_xt.c
049c96
@@ -175,7 +175,7 @@ static int parse_ipt(struct action_util *a,int *argc_p,
049c96
 						     &m->option_offset);
049c96
 #endif
049c96
 			if (opts == NULL) {
049c96
-				fprintf(stderr, " failed to find aditional options for target %s\n\n", optarg);
049c96
+				fprintf(stderr, " failed to find additional options for target %s\n\n", optarg);
049c96
 				return -1;
049c96
 			} else
049c96
 				tcipt_globals.opts = opts;
049c96
@@ -346,7 +346,7 @@ print_ipt(struct action_util *au,FILE * f, struct rtattr *arg)
049c96
 					     &m->option_offset);
049c96
 #endif
049c96
 	if (opts == NULL) {
049c96
-		fprintf(stderr, " failed to find aditional options for target %s\n\n", optarg);
049c96
+		fprintf(stderr, " failed to find additional options for target %s\n\n", optarg);
049c96
 		return -1;
049c96
 	} else
049c96
 		tmp_tcipt_globals.opts = opts;
049c96
-- 
049c96
1.8.3.1
049c96