From 4d2639eaf72b5e2029d0421c693110335892fe72 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Fri, 8 Jan 2016 10:03:58 -0800 Subject: n230: fixed string formatting warning --- host/lib/usrp/n230/n230_frontend_ctrl.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'host') diff --git a/host/lib/usrp/n230/n230_frontend_ctrl.cpp b/host/lib/usrp/n230/n230_frontend_ctrl.cpp index 9de106fde..e0820d9b2 100644 --- a/host/lib/usrp/n230/n230_frontend_ctrl.cpp +++ b/host/lib/usrp/n230/n230_frontend_ctrl.cpp @@ -1,5 +1,5 @@ // -// Copyright 2013-2014 Ettus Research LLC +// Copyright 2013-2014,2016 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "n230_fpga_defs.h" @@ -119,7 +120,9 @@ public: } else if (which == 1) { set_stream_state(_fe_states[0].state, state); } else { - throw uhd::value_error("n230: unknown stream index option: " + which); + throw uhd::value_error( + str(boost::format("n230: unknown stream index option: %d") % which) + ); } } -- cgit v1.2.3