aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/transport/udp_zero_copy.cpp2
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp2
-rw-r--r--host/lib/utils/thread_priority.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/transport/udp_zero_copy.cpp b/host/lib/transport/udp_zero_copy.cpp
index f89cfc92e..f03919f31 100644
--- a/host/lib/transport/udp_zero_copy.cpp
+++ b/host/lib/transport/udp_zero_copy.cpp
@@ -272,7 +272,7 @@ template<typename Opt> static size_t resize_buff_helper(
std::string help_message;
#if defined(UHD_PLATFORM_LINUX)
help_message = str(boost::format(
- "Please run: sudo sysctl -w net.core.%smem_max=%d\n"
+ "Please run: sudo sysctl -w net.core.%smem_max=%d"
) % ((name == "recv")?"r":"w") % target_size);
#endif /*defined(UHD_PLATFORM_LINUX)*/
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index ac08cf565..08865f9a6 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -438,7 +438,7 @@ void x300_impl::mboard_members_t::discover_eth(
UHD_LOGGER_WARNING("X300") << str(boost::format(
"Duplicate IP address %s found in mboard EEPROM. "
"Device may not function properly.\nView and reprogram the values "
- "using the usrp_burn_mb_eeprom utility.\n") % mb_eeprom[key]);
+ "using the usrp_burn_mb_eeprom utility.") % mb_eeprom[key]);
}
mb_eeprom_addrs.push_back(mb_eeprom[key]);
}
diff --git a/host/lib/utils/thread_priority.cpp b/host/lib/utils/thread_priority.cpp
index 084d023bf..729edcf0a 100644
--- a/host/lib/utils/thread_priority.cpp
+++ b/host/lib/utils/thread_priority.cpp
@@ -29,7 +29,7 @@ bool uhd::set_thread_priority_safe(float priority, bool realtime){
UHD_LOGGER_WARNING("UHD") << boost::format(
"Unable to set the thread priority. Performance may be negatively affected.\n"
"Please see the general application notes in the manual for instructions.\n"
- "%s\n"
+ "%s"
) % e.what();
return false;
}