diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2019-07-12 17:42:40 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2019-07-12 17:48:30 +0900 |
commit | bfbc25785fcafb0ed2e14a19d2508238594065d3 (patch) | |
tree | d4060abc33f8c93fd8f48331a2575373adb1c23e /test/camera-sensor.cpp | |
parent | b5cffad2d48b0e0f280b7c132a10e0405a0aa50a (diff) |
libcamera: process: fix error checking
The return value of a read() call is mistakenly checked for nonzero
rather than less than zero. Fix this.
Fixes: df23ab95f3d7 ("libcamera: process: fix compilation on Chromium OS")
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'test/camera-sensor.cpp')
0 files changed, 0 insertions, 0 deletions