diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-06 10:34:10 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-06 10:34:10 -0700 |
commit | 7c127b6c82db773ca2dcab372ab28b4dc4e5b347 (patch) | |
tree | 06863cf5bb076b2d10c1e3865941f59bede2ab1d /host/lib/transport | |
parent | 34bef071e32bd8165d14fdcbcf725c5b74a06b48 (diff) | |
download | uhd-7c127b6c82db773ca2dcab372ab28b4dc4e5b347.tar.gz uhd-7c127b6c82db773ca2dcab372ab28b4dc4e5b347.tar.bz2 uhd-7c127b6c82db773ca2dcab372ab28b4dc4e5b347.zip |
udp: fixed boost format syntax for warning message
Diffstat (limited to 'host/lib/transport')
-rw-r--r-- | host/lib/transport/udp_zero_copy_asio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/transport/udp_zero_copy_asio.cpp b/host/lib/transport/udp_zero_copy_asio.cpp index a87f17a91..7e28caf2d 100644 --- a/host/lib/transport/udp_zero_copy_asio.cpp +++ b/host/lib/transport/udp_zero_copy_asio.cpp @@ -246,11 +246,11 @@ template<typename Opt> static void resize_buff_helper( "Current %s sock buff size: %d bytes" ) % name % actual_size << std::endl; if (actual_size < target_size) uhd::print_warning(str(boost::format( - "The %s buffer is smaller than the requested size.\n" - "The minimum recommended buffer size is %d bytes.\n" + "The %1% buffer is smaller than the requested size.\n" + "The minimum recommended buffer size is %2% bytes.\n" "See the transport application notes on buffer resizing.\n" #if defined(UHD_PLATFORM_LINUX) - "On Linux: sudo sysctl -w net.core.rmem_max=%2%\n" + "Please run: sudo sysctl -w net.core.rmem_max=%2%\n" #endif /*defined(UHD_PLATFORM_LINUX)*/ ) % name % min_sock_buff_size)); } |