summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r--gnuradio-runtime/lib/block.cc2
-rw-r--r--gnuradio-runtime/lib/controlport/rpcmanager.cc2
-rw-r--r--gnuradio-runtime/lib/logger.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc
index 5914283908..b3a9bcc4dc 100644
--- a/gnuradio-runtime/lib/block.cc
+++ b/gnuradio-runtime/lib/block.cc
@@ -287,7 +287,7 @@ void block::set_max_noutput_items(int m)
{
if (m <= 0)
throw std::runtime_error("block::set_max_noutput_items: value for "
- "max_noutput_items must be greater than 0.\n");
+ "max_noutput_items must be greater than 0.");
d_max_noutput_items = m;
d_max_noutput_items_set = true;
diff --git a/gnuradio-runtime/lib/controlport/rpcmanager.cc b/gnuradio-runtime/lib/controlport/rpcmanager.cc
index aa9fc08cde..423bf44d3d 100644
--- a/gnuradio-runtime/lib/controlport/rpcmanager.cc
+++ b/gnuradio-runtime/lib/controlport/rpcmanager.cc
@@ -54,6 +54,6 @@ void rpcmanager::register_booter(rpcserver_booter_base* booter)
booter_registered = true;
} else {
throw std::runtime_error("rpcmanager: Aggregator not in use, and a rpc booter is "
- "already registered\n");
+ "already registered");
}
}
diff --git a/gnuradio-runtime/lib/logger.cc b/gnuradio-runtime/lib/logger.cc
index ce2772cadf..6bcac914ed 100644
--- a/gnuradio-runtime/lib/logger.cc
+++ b/gnuradio-runtime/lib/logger.cc
@@ -194,7 +194,7 @@ void logger_set_level(logger_ptr logger, const std::string& level)
else if (nocase == "emerg")
logger_set_level(logger, log4cpp::Priority::EMERG);
else
- throw std::runtime_error("logger_set_level: Bad level type.\n");
+ throw std::runtime_error("logger_set_level: Bad level type.");
}
void logger_set_level(logger_ptr logger, log4cpp::Priority::Value level)