diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-03-31 18:08:22 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-04-01 14:18:10 +0300 |
commit | f9e2df951969f10f1ee1e46fb806942a27db8aca (patch) | |
tree | 37742d510e38cac8d75b70d98acc77aadfafcda7 /src/lc-compliance/environment.cpp | |
parent | b90faccb2c4c7a7919bfd229c48b9cf8a26bb46d (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 'src/lc-compliance/environment.cpp')
0 files changed, 0 insertions, 0 deletions