summaryrefslogtreecommitdiff
path: root/test/file.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-03-31 18:08:22 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-04-01 14:18:10 +0300
commitf9e2df951969f10f1ee1e46fb806942a27db8aca (patch)
tree37742d510e38cac8d75b70d98acc77aadfafcda7 /test/file.cpp
parentb90faccb2c4c7a7919bfd229c48b9cf8a26bb46d (diff)
libcamera: v4l2_videodevice: Fix potential errno overwrite
The errno variable can potentially be overwritten by operator<<(). Store it in a local variable before logging the error message. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'test/file.cpp')
0 files changed, 0 insertions, 0 deletions