aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance/cec-test-fuzzing.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-10-02 17:20:40 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-10-03 09:47:03 +0200
commit0594d0dbbb6746ea94bf613fad7c8d8954200113 (patch)
tree6971d2568ea24e85e33ceac3e3af6099ced1db51 /utils/cec-compliance/cec-test-fuzzing.cpp
parent70e98e5ec93e8a7b104c3c1a15e584bbbcaebae2 (diff)
cec-compliance: use the new CEC utilities library
Switch to the new CEC utilities library. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/cec-compliance/cec-test-fuzzing.cpp')
-rw-r--r--utils/cec-compliance/cec-test-fuzzing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cec-compliance/cec-test-fuzzing.cpp b/utils/cec-compliance/cec-test-fuzzing.cpp
index fe3c8f21..ce0bf12d 100644
--- a/utils/cec-compliance/cec-test-fuzzing.cpp
+++ b/utils/cec-compliance/cec-test-fuzzing.cpp
@@ -22,7 +22,7 @@
int testFuzzing(struct node &node, unsigned me, unsigned la)
{
printf("test fuzzing CEC local LA %d (%s) to remote LA %d (%s):\n\n",
- me, la2s(me), la, la2s(la));
+ me, cec_la2s(me), la, cec_la2s(la));
if (node.remote[la].in_standby) {
announce("The remote device is in standby. It should be powered on when fuzzing. Aborting.");
@@ -56,7 +56,7 @@ int testFuzzing(struct node &node, unsigned me, unsigned la)
if (msg.len > CEC_MAX_MSG_SIZE)
continue;
- const char *name = opcode2s(msg.msg[1]);
+ const char *name = cec_opcode2s(msg.msg[1]);
printf("Send message %u:", cnt);
for (unsigned int i = 0; i < offset; i++)

Privacy Policy