Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> --- utils/v4l2-compliance/v4l2-test-controls.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/v4l2-compliance/v4l2-test-controls.cpp b/utils/v4l2-compliance/v4l2-test-controls.cpp index 2e03551..70b8aba 100644 --- a/utils/v4l2-compliance/v4l2-test-controls.cpp +++ b/utils/v4l2-compliance/v4l2-test-controls.cpp @@ -614,7 +614,7 @@ int testExtendedControls(struct node *node) if (ret != EINVAL) return fail("g_ext_ctrls accepted invalid control ID\n"); if (ctrls.error_idx != ctrls.count) - return fail("g_ext_ctrls(0) invalid error_idx\n"); + return fail("g_ext_ctrls(0) invalid error_idx %u\n", ctrls.error_idx); ctrl.id = 0; ctrl.size = 0; ctrl.value = 0; @@ -622,12 +622,12 @@ int testExtendedControls(struct node *node) if (ret != EINVAL) return fail("try_ext_ctrls accepted invalid control ID\n"); if (ctrls.error_idx != 0) - return fail("try_ext_ctrls(0) invalid error_idx\n"); + return fail("try_ext_ctrls(0) invalid error_idx %u\n", ctrls.error_idx); ret = doioctl(node, VIDIOC_S_EXT_CTRLS, &ctrls); if (ret != EINVAL) return fail("s_ext_ctrls accepted invalid control ID\n"); if (ctrls.error_idx != ctrls.count) - return fail("s_ext_ctrls(0) invalid error_idx\n"); + return fail("s_ext_ctrls(0) invalid error_idx %u\n", ctrls.error_idx); for (iter = node->controls.begin(); iter != node->controls.end(); ++iter) { struct v4l2_ext_control ctrl; -- 1.7.8.6 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html