This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: v4l2-compliance: add extra initial \n for error messages Author: Hans Verkuil <hans.verk...@cisco.com> Date: Thu Feb 8 14:16:09 2018 +0100 When walking through the interfaces and we cannot (yet) test an interface, then add an initial \n to the message so the text looks like this: -------------------------------------------------------------------------------- Unable to detect what device /dev/dvb/adapter1/demux0 is, skipping. -------------------------------------------------------------------------------- instead of this: -------------------------------------------------------------------------------- Unable to detect what device /dev/dvb/adapter1/demux0 is, skipping. -------------------------------------------------------------------------------- Signed-off-by: Hans Verkuil <hans.verk...@cisco.com> utils/v4l2-compliance/v4l2-test-media.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=45ba777000f8d13db342c44933545227b77cb604 diff --git a/utils/v4l2-compliance/v4l2-test-media.cpp b/utils/v4l2-compliance/v4l2-test-media.cpp index b127a1c7577e..a2a0351fd911 100644 --- a/utils/v4l2-compliance/v4l2-test-media.cpp +++ b/utils/v4l2-compliance/v4l2-test-media.cpp @@ -442,7 +442,7 @@ void walkTopology(struct node &node, struct node &expbuf_node, unsigned frame_co media_type type = media_detect_type(dev.c_str()); if (type == MEDIA_TYPE_CANT_STAT) { - fprintf(stderr, "Cannot open device %s, skipping.\n\n", + fprintf(stderr, "\nCannot open device %s, skipping.\n\n", dev.c_str()); continue; } @@ -462,7 +462,7 @@ void walkTopology(struct node &node, struct node &expbuf_node, unsigned frame_co } if (type == MEDIA_TYPE_UNKNOWN) { - fprintf(stderr, "Unable to detect what device %s is, skipping.\n\n", + fprintf(stderr, "\nUnable to detect what device %s is, skipping.\n\n", dev.c_str()); continue; } @@ -487,7 +487,7 @@ void walkTopology(struct node &node, struct node &expbuf_node, unsigned frame_co break; } if (fd < 0) { - fprintf(stderr, "Failed to open device %s, skipping\n\n", + fprintf(stderr, "\nFailed to open device %s, skipping\n\n", dev.c_str()); continue; } _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits