Fix: warning at compile time after migration to v2
authorRomain Forlot <romain.forlot@iot.bzh>
Fri, 9 Jun 2017 07:03:20 +0000 (09:03 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Fri, 9 Jun 2017 10:26:10 +0000 (12:26 +0200)
Change-Id: I7bd4168d74ee0c144cea8ca85f30b5b6928d68f8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/can/can-bus.cpp

index 1d3fce9..6167335 100644 (file)
@@ -300,7 +300,7 @@ void can_bus_t::set_can_devices()
        if(can_devices_.empty())
        {
                ERROR("No mapping found in config file: '%s'. Check it that it have a CANbus-mapping section.",
        if(can_devices_.empty())
        {
                ERROR("No mapping found in config file: '%s'. Check it that it have a CANbus-mapping section.",
-                       __FUNCTION__, conf_file_.filepath().c_str());
+                       conf_file_.filepath().c_str());
        }
 }
 
        }
 }