aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-06-11 05:10:19 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-11 05:10:19 -0400
commite5241c448f94feee40b2a285c8bf55d066420073 (patch)
tree9dbcdb63524be15dc346cc22ea7eac4a95356114 /net/ieee802154
parent84503ddd65e804ccdeedee3f307b40d80ff793e6 (diff)
ieee802154: Use '%Zu' printf format for size_t.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')
-rw-r--r--net/ieee802154/dgram.c2
-rw-r--r--net/ieee802154/raw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee802154/dgram.c b/net/ieee802154/dgram.c
index 1f5ea11c2fdf..1779677aed46 100644
--- a/net/ieee802154/dgram.c
+++ b/net/ieee802154/dgram.c
@@ -248,7 +248,7 @@ static int dgram_sendmsg(struct kiocb *iocb, struct sock *sk,
248 goto out_skb; 248 goto out_skb;
249 249
250 if (size > mtu) { 250 if (size > mtu) {
251 pr_debug("size = %u, mtu = %u\n", size, mtu); 251 pr_debug("size = %Zu, mtu = %u\n", size, mtu);
252 err = -EINVAL; 252 err = -EINVAL;
253 goto out_skb; 253 goto out_skb;
254 } 254 }
diff --git a/net/ieee802154/raw.c b/net/ieee802154/raw.c
index 8b892e060491..fca44d59f97e 100644
--- a/net/ieee802154/raw.c
+++ b/net/ieee802154/raw.c
@@ -132,7 +132,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
132 pr_debug("name = %s, mtu = %u\n", dev->name, mtu); 132 pr_debug("name = %s, mtu = %u\n", dev->name, mtu);
133 133
134 if (size > mtu) { 134 if (size > mtu) {
135 pr_debug("size = %u, mtu = %u\n", size, mtu); 135 pr_debug("size = %Zu, mtu = %u\n", size, mtu);
136 err = -EINVAL; 136 err = -EINVAL;
137 goto out_dev; 137 goto out_dev;
138 } 138 }