summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-02-05 02:58:45 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-05 02:58:45 -0800
commitb9c4d82a853713d49ac53b507964d7cf30ee408d (patch)
tree7f01acfa76c7cdfddc71868e2ed343df78c4f4ac /net
parent6de1a9104034a2c58db3abdaf03cddb507225137 (diff)
downloadlinux-b9c4d82a853713d49ac53b507964d7cf30ee408d.tar.gz
linux-b9c4d82a853713d49ac53b507964d7cf30ee408d.tar.bz2
linux-b9c4d82a853713d49ac53b507964d7cf30ee408d.zip
[IPV4]: Formatting fix for /proc/net/fib_trie.
The line in the /proc/net/fib_trie for route with TOS specified - has extra \n at the end - does not have a space after route scope like below. |-- 1.1.1.1 /32 universe UNICASTtos =1 Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/fib_trie.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index 35851c96bdfb..f5fba3f71c06 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -2431,8 +2431,7 @@ static int fib_trie_seq_show(struct seq_file *seq, void *v)
rtn_type(buf2, sizeof(buf2),
fa->fa_type));
if (fa->fa_tos)
- seq_printf(seq, "tos =%d\n",
- fa->fa_tos);
+ seq_printf(seq, " tos=%d", fa->fa_tos);
seq_putc(seq, '\n');
}
}