From 6a58d845baae5f55464127809651e567045b98e4 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 20 Feb 2019 17:16:07 +0200 Subject: Print numerical control type for unsupported types Help diagnosing problems by reporting the type of unsupported control types instead of just printing "unsupported". Signed-off-by: Laurent Pinchart --- yavta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yavta.c b/yavta.c index 7d9c40c..86447f3 100644 --- a/yavta.c +++ b/yavta.c @@ -1368,7 +1368,7 @@ static void video_print_control_value(const struct v4l2_query_ext_ctrl *query, video_print_control_array(query, ctrl); break; default: - printf("unsupported"); + printf("unsupported type %u", query->type); break; } } -- cgit v1.2.3