projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7ef33
)
[SCTP]: seq_printf format warning. (fixed)
author
Denis V. Lunev
<den@openvz.org>
Mon, 3 Mar 2008 19:55:54 +0000
(11:55 -0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/sctp/proc.c
b/net/sctp/proc.c
index 82bea300308d9ee715e5ed9ff21fd7f6d54407f7..b99bb6bda5d55f5fd78cad21b48874d7b239cd11 100644
(file)
--- 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 "
- "%8
d
%5d %5d %4d %4d %4d %8d ",
+ "%8
lu
%5d %5d %4d %4d %4d %8d ",
assoc, sk, sctp_sk(sk)->type, sk->sk_state,
assoc->state, hash,
assoc->assoc_id,