diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-28 22:49:14 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-28 22:49:14 +0000 |
commit | 9f8c7fb32ee08eddf2358086aef0aa40b0f16b44 (patch) | |
tree | d6e4a1a60a85ca69f6f3c2b384fadf72e0ca9e0f /linux/drivers/media/radio/radio-si470x.c | |
parent | 2c52ef1e124a7822bbebcb172099318376c908cb (diff) | |
download | mediapointer-dvb-s2-9f8c7fb32ee08eddf2358086aef0aa40b0f16b44.tar.gz mediapointer-dvb-s2-9f8c7fb32ee08eddf2358086aef0aa40b0f16b44.tar.bz2 |
Trivial printf warning fix (radio-si470)
From: Tobias Lorenz <tobias.lorenz@gmx.net>
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 'linux/drivers/media/radio/radio-si470x.c')
-rw-r--r-- | linux/drivers/media/radio/radio-si470x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/radio/radio-si470x.c b/linux/drivers/media/radio/radio-si470x.c index 0448166ce..7be7b0916 100644 --- a/linux/drivers/media/radio/radio-si470x.c +++ b/linux/drivers/media/radio/radio-si470x.c @@ -559,7 +559,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); |