aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/gps_ctrl.cpp4
-rw-r--r--host/lib/usrp/multi_usrp.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/gps_ctrl.cpp b/host/lib/usrp/gps_ctrl.cpp
index cafc2f662..8026b32a2 100644
--- a/host/lib/usrp/gps_ctrl.cpp
+++ b/host/lib/usrp/gps_ctrl.cpp
@@ -154,7 +154,7 @@ private:
if (msg.length() < 6) {
UHD_LOGGER_WARNING("GPS")
- << __FUNCTION__ << ": Short GPSDO string: " << msg;
+ << UHD_FUNCTION << "(): Short GPSDO string: " << msg;
continue;
}
@@ -166,7 +166,7 @@ private:
msgs[msg.substr(1, 5)] = msg;
} else {
UHD_LOGGER_WARNING("GPS")
- << __FUNCTION__ << ": Malformed GPSDO string: " << msg;
+ << UHD_FUNCTION << "(): Malformed GPSDO string: " << msg;
}
}
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index 89c4cbc26..0427a4941 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -64,7 +64,7 @@ UHD_INLINE std::string string_vector_to_string(
throw uhd::exception::runtime_error( \
(boost::format( \
"%s: gain \"%s\" not found for channel %d.\nAvailable gains: %s\n") \
- % __FUNCTION__ % name % chan \
+ % UHD_FUNCTION % name % chan \
% string_vector_to_string(get_##dir##_gain_names(chan))) \
.str());