diff options
Diffstat (limited to 'low-can-binding/utils/socketcan.hpp')
-rw-r--r-- | low-can-binding/utils/socketcan.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/utils/socketcan.hpp b/low-can-binding/utils/socketcan.hpp index 82b797e..40e165b 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) - ERROR("Error sending : %i %s", errno, ::strerror(errno)); + AFB_ERROR("Error sending : %i %s", errno, ::strerror(errno)); return s; } } |