From: Romain Forlot <romain.forlot@iot.bzh> Date: Wed, 1 Mar 2017 16:41:16 +0000 (+0100) Subject: Fix: wrong format to display can_message_t information X-Git-Tag: 3.99.1~419 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=4f06114c79f804ed404d40ffad771cbacab0fe8b;p=apps%2Flow-level-can-service.git Fix: wrong format to display can_message_t information Change-Id: I6c17c68d8e995022886750f2ef05348b544cbde5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> --- diff --git a/src/can-bus.cpp b/src/can-bus.cpp index 52c81cf..6279a2a 100644 --- a/src/can-bus.cpp +++ b/src/can-bus.cpp @@ -240,7 +240,7 @@ can_message_t can_bus_t::next_can_message() { can_msg = can_message_q_.front(); can_message_q_.pop(); - DEBUG(binder_interface, "next_can_message: Here is the next can message : id %d, length %d", can_msg.get_id(), can_msg.get_length()); + DEBUG(binder_interface, "next_can_message: Here is the next can message : id %X, length %X", can_msg.get_id(), can_msg.get_length()); return can_msg; }