summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-03-03 11:55:54 -0800
committerDavid S. Miller <davem@davemloft.net>2008-03-03 11:55:54 -0800
commitf0fd56ed40ec5fb889bfc7efccd1c5759e6e9937 (patch)
treede8d9853f1b7df9d3de073748d0ab67254f08cf2
parentda7ef338a2982a3a0c7e2b1cdfd55ba35b34471e (diff)
downloadop-kernel-dev-f0fd56ed40ec5fb889bfc7efccd1c5759e6e9937.zip
op-kernel-dev-f0fd56ed40ec5fb889bfc7efccd1c5759e6e9937.tar.gz
[SCTP]: seq_printf format warning. (fixed)
sctp_association->hbinterval is unsigned long. Replace %8d with %8lu. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/sctp/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/proc.c b/net/sctp/proc.c
index 82bea30..b99bb6b 100644
--- a/net/sctp/proc.c
+++ b/net/sctp/proc.c
@@ -325,7 +325,7 @@ static int sctp_assocs_seq_show(struct seq_file *seq, void *v)
seq_printf(seq,
"%8p %8p %-3d %-3d %-2d %-4d "
"%4d %8d %8d %7d %5lu %-5d %5d "
- "%8d %5d %5d %4d %4d %4d %8d ",
+ "%8lu %5d %5d %4d %4d %4d %8d ",
assoc, sk, sctp_sk(sk)->type, sk->sk_state,
assoc->state, hash,
assoc->assoc_id,
OpenPOWER on IntegriCloud