Skip to content

Commit

Permalink
V4L/DVB (7110): Trivial printf warning fix (radio-si470)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tobias Lorenz authored and Mauro Carvalho Chehab committed Feb 18, 2008
1 parent c3f686f commit 998cb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/radio/radio-si470x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 998cb08

Please sign in to comment.