V4L/DVB (7110): Trivial printf warning fix (radio-si470)
authorTobias Lorenz <tobias.lorenz@gmx.net>
Tue, 29 Jan 2008 01:49:14 +0000 (22:49 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 18 Feb 2008 14:15:09 +0000 (11:15 -0300)
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>
drivers/media/radio/radio-si470x.c

index 7fdee3cc6e0223ce8e53880040412655d4f7493f..204577eb287bdcfd292b0c0ddb4ae01041a6b628 100644 (file)
@@ -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);