summaryrefslogtreecommitdiff
path: root/include/uvcgadget/events.h
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2018-06-12 14:17:04 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-12 21:23:40 +0300
commit3ec5aa6720c32d32cd26cf52c0e35bf61830c879 (patch)
tree21bf8fa1fa126a5d80162d960f25c136f7f5efcf /include/uvcgadget/events.h
parentcc32934a2309e88774c217907f6a62bf32a9cd92 (diff)
uvc: check ioctl return value for error
There is code that is meant to check for the error of an ioctl, but the return variable that it checks isn't actually assigned from the ioctl. Assign the return value before checking it. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> [Fixed error message] Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/uvcgadget/events.h')
0 files changed, 0 insertions, 0 deletions