diff options
Diffstat (limited to 'host/lib/transport')
-rw-r--r-- | host/lib/transport/libusb1_base.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/transport/libusb1_base.cpp b/host/lib/transport/libusb1_base.cpp index 6808a3e0d..3cb190a6e 100644 --- a/host/lib/transport/libusb1_base.cpp +++ b/host/lib/transport/libusb1_base.cpp @@ -6,6 +6,7 @@ // #include "libusb1_base.hpp" +#include <uhd/config.hpp> #include <uhd/exception.hpp> #include <uhd/types/dict.hpp> #include <uhd/types/serial.hpp> @@ -77,7 +78,7 @@ private: throw uhd::io_error(libusb_strerror(LIBUSB_ERROR_NO_DEVICE)); default: UHD_LOGGER_ERROR("USB") - << __FUNCTION__ << ": " << libusb_strerror((libusb_error)ret); + << UHD_FUNCTION << ": " << libusb_strerror((libusb_error)ret); break; } } |