[media] gspca_kinect: fix messages about kinect_read() return value
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 30 Dec 2013 16:41:46 +0000 (13:41 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 28 Feb 2014 17:37:26 +0000 (14:37 -0300)
commitccf78070d7ec8ff0231c5c2b1b16c78e10c768fc
tree0491dd44e1428ef01e2c8cc969eeb95832c709bd
parent840d94eacea399b3bfe2ebcbf75e0dec202cd922
[media] gspca_kinect: fix messages about kinect_read() return value

Messages relative to kinect_read() are printing "res" which contains the
return value of a previous kinect_write().

Print the correct value in the messages.

Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/gspca/kinect.c