Skip to content

Commit

Permalink
[SCTP]: seq_printf format warning. (fixed)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Mar 3, 2008
1 parent da7ef33 commit f0fd56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sctp/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f0fd56e

Please sign in to comment.