summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-11-22 22:06:20 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-11-22 22:07:02 +0100
commit207a476b52d0322fc65825205287066496c74f91 (patch)
tree1652383d7c546045fd5ca51acee676fcbd7b8741
parente9a543258e63f1d0c1b799f1cb1d6b6b04862822 (diff)
downloadcanutils-master.tar.gz
cansequence: print error frames in hexHEADmaster
Fixes: faad20983348 ("cansequence: receive snd show error frames") Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--src/cansequence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cansequence.c b/src/cansequence.c
index 2008081..68733b2 100644
--- a/src/cansequence.c
+++ b/src/cansequence.c
@@ -129,7 +129,7 @@ static void do_receive()
if (frame.can_id & CAN_ERR_FLAG) {
fprintf(stderr,
- "sequence CNT: %6u, ERRORFRAME %7x %02u %02u %02u %02u %02u %02u %02u %02u\n",
+ "sequence CNT: %6u, ERRORFRAME %7x %02x %02x %02x %02x %02x %02x %02x %02x\n",
sequence, frame.can_id,
frame.data[0], frame.data[1], frame.data[2], frame.data[3],
frame.data[4], frame.data[5], frame.data[6], frame.data[7]);