aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-10-02 09:52:26 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-10-02 09:52:26 +0200
commit6a0c7d8462f6b1bed0ef6d60f9d5d23d0768c0d0 (patch)
tree9af513103e17e95a02cdc150344e0812b556f375
parent3e215837533be02648a19025e19c9ed51724b16e (diff)
msg2ctl.pl: add newline after log_msg
The generated log_msg and log_htng_msg functions didn't have a newline in between the two functions which is a bit ugly. Add this newline. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rwxr-xr-xutils/cec-ctl/msg2ctl.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/cec-ctl/msg2ctl.pl b/utils/cec-ctl/msg2ctl.pl
index d9ef3834..4d2f94d1 100755
--- a/utils/cec-ctl/msg2ctl.pl
+++ b/utils/cec-ctl/msg2ctl.pl
@@ -508,8 +508,7 @@ status:
(msg->rx_status && !(msg->rx_status & (CEC_RX_STATUS_OK | CEC_RX_STATUS_FEATURE_ABORT))))
printf("\t%s\n", status2s(*msg).c_str());
}
-EOF
-print <<'EOF';
+
void log_htng_msg(const struct cec_msg *msg)
{
if ((msg->tx_status && !(msg->tx_status & CEC_TX_STATUS_OK)) ||

Privacy Policy