summaryrefslogtreecommitdiffstats
path: root/net/dccp/input.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-08-21 23:46:01 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 16:04:27 -0700
commit58e45131dc269eff0983c6d44494f9e687686900 (patch)
tree2ad04be66ec5ac7471c89180ff85f301e4f19a87 /net/dccp/input.c
parent05465343bf74e00c8c2c5a310740157de3149f27 (diff)
downloadlinux-58e45131dc269eff0983c6d44494f9e687686900.tar.gz
linux-58e45131dc269eff0983c6d44494f9e687686900.tar.bz2
linux-58e45131dc269eff0983c6d44494f9e687686900.zip
[DCCP]: Fix printf format warnings on 64-bit.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/input.c')
-rw-r--r--net/dccp/input.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/dccp/input.c b/net/dccp/input.c
index 5847cf454e26..85402532e4e9 100644
--- a/net/dccp/input.c
+++ b/net/dccp/input.c
@@ -141,10 +141,16 @@ static int dccp_check_seqno(struct sock *sk, struct sk_buff *skb)
"(P.ackno %s or LAWL(%llu) <= P.ackno(%llu) <= S.AWH(%llu), "
"sending SYNC...\n",
dccp_packet_name(dh->dccph_type),
- lswl, DCCP_SKB_CB(skb)->dccpd_seq, dp->dccps_swh,
+ (unsigned long long) lswl,
+ (unsigned long long)
+ DCCP_SKB_CB(skb)->dccpd_seq,
+ (unsigned long long) dp->dccps_swh,
(DCCP_SKB_CB(skb)->dccpd_ack_seq ==
DCCP_PKT_WITHOUT_ACK_SEQ) ? "doesn't exist" : "exists",
- lawl, DCCP_SKB_CB(skb)->dccpd_ack_seq, dp->dccps_awh);
+ (unsigned long long) lawl,
+ (unsigned long long)
+ DCCP_SKB_CB(skb)->dccpd_ack_seq,
+ (unsigned long long) dp->dccps_awh);
dccp_send_sync(sk, DCCP_SKB_CB(skb)->dccpd_seq, DCCP_PKT_SYNC);
return -1;
}