]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] fix /proc/net/netstat output
authorCal Peake <cp@absolutedigital.net>
Sun, 22 Aug 2004 11:59:46 +0000 (04:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 22 Aug 2004 11:59:46 +0000 (04:59 -0700)
net/ipv4/proc.c was updated to use a new mechanism for outputting
/proc/net/snmp and /proc/net/netstat.

However, a superfluous '\n' snuck in, breaking `netstat -s`

net/ipv4/proc.c

index fca126a09670fe25d713c73bc237f80a40214ea1..912bbcc7f4152efb998f20328d433d0535dc0f85 100644 (file)
@@ -330,7 +330,7 @@ static int netstat_seq_show(struct seq_file *seq, void *v)
 {
        int i;
 
-       seq_puts(seq, "\nTcpExt:");
+       seq_puts(seq, "TcpExt:");
        for (i = 0; snmp4_net_list[i].name != NULL; i++)
                seq_printf(seq, " %s", snmp4_net_list[i].name);