]> err.no Git - linux-2.6/commitdiff
[SCTP]: seq_printf format warning. (fixed)
authorDenis V. Lunev <den@openvz.org>
Mon, 3 Mar 2008 19:55:54 +0000 (11:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2008 19:55:54 +0000 (11:55 -0800)
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>
net/sctp/proc.c

index 82bea300308d9ee715e5ed9ff21fd7f6d54407f7..b99bb6bda5d55f5fd78cad21b48874d7b239cd11 100644 (file)
@@ -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,