summaryrefslogtreecommitdiff
path: root/drivers/media/parport
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2014-04-30 12:57:50 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-23 12:18:53 -0300
commit26ac69f88d17c4947c3413854c58a21c35e8eab4 (patch)
treed50a8d47fa89c843671edd7918732e6e21345965 /drivers/media/parport
parent227ae227c9352903d8bc4dc42e128da93aca4c79 (diff)
[media] media: parport: Fix format string mismatch in bw-qcam.c
Fix format string mismatch in bw-qcam.c Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/parport')
-rw-r--r--drivers/media/parport/bw-qcam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/parport/bw-qcam.c b/drivers/media/parport/bw-qcam.c
index 8a0e84c7d495..416507a83668 100644
--- a/drivers/media/parport/bw-qcam.c
+++ b/drivers/media/parport/bw-qcam.c
@@ -937,7 +937,7 @@ static struct qcam *qcam_init(struct parport *port)
return NULL;
v4l2_dev = &qcam->v4l2_dev;
- snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), "bw-qcam%d", num_cams);
+ snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), "bw-qcam%u", num_cams);
if (v4l2_device_register(port->dev, v4l2_dev) < 0) {
v4l2_err(v4l2_dev, "Could not register v4l2_device\n");