From: Denis V. Lunev Date: Mon, 3 Mar 2008 19:55:54 +0000 (-0800) Subject: [SCTP]: seq_printf format warning. (fixed) X-Git-Tag: v2.6.26-rc1~1138^2~527 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0fd56ed40ec5fb889bfc7efccd1c5759e6e9937;p=linux-2.6 [SCTP]: seq_printf format warning. (fixed) sctp_association->hbinterval is unsigned long. Replace %8d with %8lu. Signed-off-by: Denis V. Lunev Signed-off-by: David S. Miller --- diff --git a/net/sctp/proc.c b/net/sctp/proc.c index 82bea30030..b99bb6bda5 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,