[PATCH 3/3] route: fixed some whitespaces

Steffen Vogel post at steffenvogel.de
Thu Jul 23 23:42:28 PDT 2015


---
 lib/route/qdisc.c       | 2 +-
 lib/route/qdisc/netem.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/route/qdisc.c b/lib/route/qdisc.c
index b8b6fa5..775d4cb 100644
--- a/lib/route/qdisc.c
+++ b/lib/route/qdisc.c
@@ -520,7 +520,7 @@ static void qdisc_dump_details(struct rtnl_tc *tc, struct nl_dump_params *p)
 {
 	struct rtnl_qdisc *qdisc = (struct rtnl_qdisc *) tc;
 
-	nl_dump(p, "refcnt %u ", qdisc->q_info);
+	nl_dump(p, "refcnt %u", qdisc->q_info);
 }
 
 static struct rtnl_tc_type_ops qdisc_ops = {
diff --git a/lib/route/qdisc/netem.c b/lib/route/qdisc/netem.c
index 36095fa..f73a56f 100644
--- a/lib/route/qdisc/netem.c
+++ b/lib/route/qdisc/netem.c
@@ -29,8 +29,8 @@
 /** @cond SKIP */
 #define SCH_NETEM_ATTR_LATENCY		0x0001
 #define SCH_NETEM_ATTR_LIMIT		0x0002
-#define SCH_NETEM_ATTR_LOSS			0x0004
-#define SCH_NETEM_ATTR_GAP			0x0008
+#define SCH_NETEM_ATTR_LOSS		0x0004
+#define SCH_NETEM_ATTR_GAP		0x0008
 #define SCH_NETEM_ATTR_DUPLICATE	0x0010
 #define SCH_NETEM_ATTR_JITTER		0x0020
 #define SCH_NETEM_ATTR_DELAY_CORR	0x0040
@@ -40,7 +40,7 @@
 #define SCH_NETEM_ATTR_RO_CORR		0x0400
 #define SCH_NETEM_ATTR_CORRUPT_PROB	0x0800
 #define SCH_NETEM_ATTR_CORRUPT_CORR	0x1000
-#define SCH_NETEM_ATTR_DIST         0x2000
+#define SCH_NETEM_ATTR_DIST		0x2000
 /** @endcond */
 
 static struct nla_policy netem_policy[TCA_NETEM_MAX+1] = {
-- 
2.3.0




More information about the libnl mailing list