summaryrefslogtreecommitdiff
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorTobias Lorenz <tobias.lorenz@gmx.net>2008-01-29 04:49:14 +0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 17:15:09 +0300
commit998cb0827d62f13a80e7f7b0ec993e98184cbc57 (patch)
tree6abb86fd00894952d556ba9e34b991600c89ae10 /drivers/media/radio
parentc3f686f152767b84893e474acd1a7758988dc369 (diff)
downloadlinux-998cb0827d62f13a80e7f7b0ec993e98184cbc57.tar.xz
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/radio')
-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);