summaryrefslogtreecommitdiff
path: root/src/linux/videodev2.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-03-10 19:49:22 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-03-10 19:53:54 +0100
commit45033a900fb0d004b9790f7b9d57045ea7510cd3 (patch)
treeb2e56cc633c39dd17babc79d58ec50883583f0fe /src/linux/videodev2.h
parent87f58c2ed885d636229f7209fde883058433a1ce (diff)
Read errno before media_dbg calls
The media_dbg() in error paths can modify the errno value, leading to the wrong error (or no error at all) being returned. Fix this by reading the errno value before calling media_dbg(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/linux/videodev2.h')
0 files changed, 0 insertions, 0 deletions