summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-02-20 17:16:07 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-02-20 17:16:07 +0200
commit6a58d845baae5f55464127809651e567045b98e4 (patch)
treee10160613ab67119e0cda231a691058176fe6816
parentd1cf03eaf9b9423817115a69e64a5e5155dc5409 (diff)
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 <laurent.pinchart@ideasonboard.com>
-rw-r--r--yavta.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}