aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-12-07 12:11:59 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2016-12-07 12:11:59 +0100
commit20ded57a085630446857ec4c320d7e4ea9ccb882 (patch)
treeecf8db28274f569d54b8176a06866447ad355045
parent80dbbf2058972628b3b366a20d12cf6bef273d76 (diff)
cec-compliance: add missing newlines
Some messages were missing newlines. Add them. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--utils/cec-compliance/cec-test-audio.cpp4
-rw-r--r--utils/cec-compliance/cec-test.cpp10
2 files changed, 7 insertions, 7 deletions
diff --git a/utils/cec-compliance/cec-test-audio.cpp b/utils/cec-compliance/cec-test-audio.cpp
index c2421d6a..0a277a72 100644
--- a/utils/cec-compliance/cec-test-audio.cpp
+++ b/utils/cec-compliance/cec-test-audio.cpp
@@ -215,7 +215,7 @@ static int arc_terminate_tx(struct node *node, unsigned me, unsigned la, bool in
}
fail_on_test(unrecognized_op(&msg));
if (cec_msg_status_is_abort(&msg)) {
- warn("Received Feature Abort for Terminate ARC (but the message was recognized).");
+ warn("Received Feature Abort for Terminate ARC (but the message was recognized).\n");
if (refused(&msg))
return REFUSED;
return PRESUMED_OK;
@@ -290,7 +290,7 @@ static int arc_terminate_rx(struct node *node, unsigned me, unsigned la, bool in
}
fail_on_test(unrecognized_op(&msg));
if (cec_msg_status_is_abort(&msg)) {
- warn("Received Feature Abort for Request ARC Termination (but the message was recognized).");
+ warn("Received Feature Abort for Request ARC Termination (but the message was recognized).\n");
if (refused(&msg))
return REFUSED;
return PRESUMED_OK;
diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp
index 7c6ac2e1..c276a81d 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -170,12 +170,12 @@ static int system_info_give_features(struct node *node, unsigned me, unsigned la
if (!(cec_has_playback(1 << la) || cec_has_record(1 << la) || cec_has_tuner(1 << la)) &&
node->remote[la].has_aud_rate) {
- return fail("Only Playback, Recording or Tuner devices shall set the Set Audio Rate bit");
+ return fail("Only Playback, Recording or Tuner devices shall set the Set Audio Rate bit\n");
}
if (!(cec_has_playback(1 << la) || cec_has_record(1 << la)) && node->remote[la].has_deck_ctl)
- return fail("Only Playback and Recording devices shall set the Supports Deck Control bit");
+ return fail("Only Playback and Recording devices shall set the Supports Deck Control bit\n");
if (!cec_has_tv(1 << la) && node->remote[la].has_rec_tv)
- return fail("Only TVs shall set the Record TV Screen bit");
+ return fail("Only TVs shall set the Record TV Screen bit\n");
return 0;
}
@@ -572,7 +572,7 @@ static int dev_menu_ctl_request(struct node *node, unsigned me, unsigned la, boo
if (cec_msg_status_is_abort(&msg))
return PRESUMED_OK;
if (node->remote[la].cec_version >= CEC_OP_CEC_VERSION_2_0)
- warn("The Device Menu Control feature is deprecated in CEC 2.0");
+ warn("The Device Menu Control feature is deprecated in CEC 2.0\n");
return 0;
}
@@ -591,7 +591,7 @@ static int dev_menu_ctl_status(struct node *node, unsigned me, unsigned la, bool
if (cec_msg_status_is_abort(&msg))
return PRESUMED_OK;
if (node->remote[la].cec_version >= CEC_OP_CEC_VERSION_2_0)
- warn("The Device Menu Control feature is deprecated in CEC 2.0");
+ warn("The Device Menu Control feature is deprecated in CEC 2.0\n");
return 0;
}

Privacy Policy