Skip to content

Commit

Permalink
ieee802154: Use '%Zu' printf format for size_t.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
davem330 committed Jun 11, 2009
1 parent 84503dd commit e5241c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/ieee802154/dgram.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ static int dgram_sendmsg(struct kiocb *iocb, struct sock *sk,
goto out_skb;

if (size > mtu) {
pr_debug("size = %u, mtu = %u\n", size, mtu);
pr_debug("size = %Zu, mtu = %u\n", size, mtu);
err = -EINVAL;
goto out_skb;
}
Expand Down
2 changes: 1 addition & 1 deletion net/ieee802154/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
pr_debug("name = %s, mtu = %u\n", dev->name, mtu);

if (size > mtu) {
pr_debug("size = %u, mtu = %u\n", size, mtu);
pr_debug("size = %Zu, mtu = %u\n", size, mtu);
err = -EINVAL;
goto out_dev;
}
Expand Down

0 comments on commit e5241c4

Please sign in to comment.