summaryrefslogtreecommitdiffstats
path: root/net/ipv4/proc.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-02-16 09:08:56 +0100
committerDavid S. Miller <davem@davemloft.net>2009-02-16 09:08:56 +0100
commit1c10c49d83e2062b309cc88e8eb3abb05d397480 (patch)
treee7b665a649e07f519c3be093717f1ba999a401b9 /net/ipv4/proc.c
parentsctp: Inherit all socket options from parent correctly. (diff)
downloadlinux-1c10c49d83e2062b309cc88e8eb3abb05d397480.tar.xz
linux-1c10c49d83e2062b309cc88e8eb3abb05d397480.zip
net: replace commatas with semicolons
Impact: syntax fix Interestingly enough this compiles w/o any complaints: orphans = percpu_counter_sum_positive(&tcp_orphan_count), sockets = percpu_counter_sum_positive(&tcp_sockets_allocated), Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r--net/ipv4/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index eb62e58bff79..cf0cdeeb1db0 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -54,8 +54,8 @@ static int sockstat_seq_show(struct seq_file *seq, void *v)
int orphans, sockets;
local_bh_disable();
- orphans = percpu_counter_sum_positive(&tcp_orphan_count),
- sockets = percpu_counter_sum_positive(&tcp_sockets_allocated),
+ orphans = percpu_counter_sum_positive(&tcp_orphan_count);
+ sockets = percpu_counter_sum_positive(&tcp_sockets_allocated);
local_bh_enable();
socket_seq_show(seq);