diff options
-rw-r--r-- | src/libcamera/v4l2_device.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/v4l2_device.cpp b/src/libcamera/v4l2_device.cpp index f8954661..349bf2d2 100644 --- a/src/libcamera/v4l2_device.cpp +++ b/src/libcamera/v4l2_device.cpp @@ -287,13 +287,13 @@ int V4L2Device::setControls(V4L2ControlList *ctrls) /* Generic validation error. */ if (errorIdx == 0 || errorIdx >= count) { - LOG(V4L2, Error) << "Unable to read controls: " + LOG(V4L2, Error) << "Unable to set controls: " << strerror(ret); return -EINVAL; } /* A specific control failed. */ - LOG(V4L2, Error) << "Unable to read control " << errorIdx + LOG(V4L2, Error) << "Unable to set control " << errorIdx << ": " << strerror(ret); count = errorIdx - 1; ret = errorIdx; |