diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-04-03 16:00:47 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-29 18:00:29 -0400 |
commit | 504945c9c6954b83758272d04797f31437dfce9e (patch) | |
tree | edc9f41b2f1a93edb9db0276885cbbb3a280a58a /drivers | |
parent | 7542e0e696d1b6e71e6eb3183cbf2c63ec6b5acb (diff) |
ieee1394: ieee1394_core printk format
Fix printk format string:
drivers/ieee1394/ieee1394_core.c:702: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ieee1394/ieee1394_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/ieee1394_core.c b/drivers/ieee1394/ieee1394_core.c index d6e3d441f833..d2240a4a1c22 100644 --- a/drivers/ieee1394/ieee1394_core.c +++ b/drivers/ieee1394/ieee1394_core.c | |||
@@ -698,7 +698,7 @@ static size_t packet_size_to_data_size(size_t packet_size, size_t header_size, | |||
698 | ret = buffer_size; | 698 | ret = buffer_size; |
699 | 699 | ||
700 | if (unlikely(ret + header_size != packet_size)) | 700 | if (unlikely(ret + header_size != packet_size)) |
701 | HPSB_ERR("unexpected packet size %d (tcode %d), bug?", | 701 | HPSB_ERR("unexpected packet size %zd (tcode %d), bug?", |
702 | packet_size, tcode); | 702 | packet_size, tcode); |
703 | return ret; | 703 | return ret; |
704 | } | 704 | } |