summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorTobias Lorenz <tobias.lorenz@gmx.net>2008-01-29 02:49:14 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 15:15:09 +0100
commit998cb0827d62f13a80e7f7b0ec993e98184cbc57 (patch)
tree6abb86fd00894952d556ba9e34b991600c89ae10 /drivers/media
parentV4L/DVB (7108): radio-si470x.c: check-after-use (diff)
downloadlinux-998cb0827d62f13a80e7f7b0ec993e98184cbc57.tar.xz
linux-998cb0827d62f13a80e7f7b0ec993e98184cbc57.zip
V4L/DVB (7110): Trivial printf warning fix (radio-si470)
Thanks to Darren Salt <linux@youmustbejoking.demon.co.uk> for pointing this issue. Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/radio/radio-si470x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-si470x.c b/drivers/media/radio/radio-si470x.c
index 7fdee3cc6e02..204577eb287b 100644
--- a/drivers/media/radio/radio-si470x.c
+++ b/drivers/media/radio/radio-si470x.c
@@ -558,7 +558,7 @@ static int si470x_get_rds_registers(struct si470x_device *radio)
(void *) &buf, sizeof(buf), &size, usb_timeout);
if (size != sizeof(buf))
printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_register: "
- "return size differs: %d != %d\n", size, sizeof(buf));
+ "return size differs: %d != %ld\n", size, sizeof(buf));
if (retval < 0)
printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_registers: "
"usb_interrupt_msg returned %d\n", retval);