aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-12-27 12:40:52 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2016-12-27 12:40:52 +0100
commit8288fb4dac6cfeffdfdfbfbc1106aa4d7ecfb80b (patch)
tree874caf6df0e4f7dc2a4840233be35f8b5ac1cc30
parentc9aacef24d152007c7344b691da0cc90788395a7 (diff)
cec-follower: improve two confusing warnings
The second line of each warning started with a capital ('Feature Abort') which was confusing. Move the last word of the first line to the second line so that it now starts with 'replying Feature Abort'. This clarifies that the second line is a continuation from the first. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--utils/cec-follower/cec-processing.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/cec-follower/cec-processing.cpp b/utils/cec-follower/cec-processing.cpp
index 4cbca765..b96b3e34 100644
--- a/utils/cec-follower/cec-processing.cpp
+++ b/utils/cec-follower/cec-processing.cpp
@@ -212,9 +212,9 @@ static void reply_feature_abort(struct node *node, struct cec_msg *msg, __u8 rea
/* If the Abort Reason was "Unrecognized opcode", the Initiator should not send
the same message to the same Follower again at that time to avoid saturating
the bus. */
- warn("Received message %s from LA %d (%s) shortly after replying\n",
+ warn("Received message %s from LA %d (%s) shortly after\n",
opcode2s(msg).c_str(), la, la2s(la));
- warn("Feature Abort [Unrecognized Opcode] to the same message.\n");
+ warn("replying Feature Abort [Unrecognized Opcode] to the same message.\n");
}
}
else if (la_info[la].feature_aborted[opcode].count) {
@@ -1081,9 +1081,9 @@ void testProcessing(struct node *node)
if (from != CEC_LOG_ADDR_UNREGISTERED &&
la_info[from].feature_aborted[opcode].ts &&
ts_to_ms(get_ts() - la_info[from].feature_aborted[opcode].ts) < 200) {
- warn("Received message %s from LA %d (%s) less than 200 ms after replying\n",
+ warn("Received message %s from LA %d (%s) less than 200 ms after\n",
opcode2s(&msg).c_str(), from, la2s(from));
- warn("Feature Abort (not [Unrecognized Opcode]) to the same message.\n");
+ warn("replying Feature Abort (not [Unrecognized Opcode]) to the same message.\n");
}
if (from != CEC_LOG_ADDR_UNREGISTERED && !la_info[from].ts)
dev_info("Logical address %d (%s) discovered.\n", from, la2s(from));

Privacy Policy