Skip to content

Commit

Permalink
sctp: Fix warning in sctp_packet_transmit_chunk()
Browse files Browse the repository at this point in the history
size_t objects should be printed with %Z printf format.

Reported-by: kbuild test robot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Jun 4, 2016
1 parent 81b1251 commit 3b55a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sctp/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ sctp_xmit_t sctp_packet_transmit_chunk(struct sctp_packet *packet,
sctp_xmit_t retval;
int error = 0;

pr_debug("%s: packet:%p size:%lu chunk:%p size:%d\n", __func__,
pr_debug("%s: packet:%p size:%Zu chunk:%p size:%d\n", __func__,
packet, packet->size, chunk, chunk->skb ? chunk->skb->len : -1);

switch ((retval = (sctp_packet_append_chunk(packet, chunk)))) {
Expand Down

0 comments on commit 3b55a53

Please sign in to comment.