aboutsummaryrefslogtreecommitdiffstats
path: root/low-can-binding/utils/socketcan.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-10-11 12:25:27 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 12:27:24 +0000
commit1b3655d85cfb9cc143c9e7f0d3506e6b004f835e (patch)
tree08ddc01f3692fce7972b6f3a436cd9b774eb958d /low-can-binding/utils/socketcan.hpp
parent3331cf98d09874f6d480e17538ebb6a53a4adf71 (diff)
Migration to binding v3
Change-Id: I0bcccb15200064bd7d83edbf06c1e7202069189a Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/utils/socketcan.hpp')
-rw-r--r--low-can-binding/utils/socketcan.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/utils/socketcan.hpp b/low-can-binding/utils/socketcan.hpp
index 40e165bd..a1fdcb58 100644
--- a/low-can-binding/utils/socketcan.hpp
+++ b/low-can-binding/utils/socketcan.hpp
@@ -65,7 +65,7 @@ namespace utils
socketcan_t& operator<<(socketcan_t& s, const T& obj)
{
if (::sendto(s.socket(), &obj, sizeof(obj), 0, (const struct sockaddr*)&s.get_tx_address(), sizeof(s.get_tx_address())) < 0)
- AFB_ERROR("Error sending : %i %s", errno, ::strerror(errno));
+ AFB_API_ERROR(afbBindingV3root, "Error sending : %i %s", errno, ::strerror(errno));
return s;
}
}