From e0598e54b7202dfc0f37b402a2997e650c52b316 Mon Sep 17 00:00:00 2001 From: Martin Braun <martin.braun@ettus.com> Date: Thu, 9 Jan 2020 12:34:08 -0800 Subject: Fix all formatting issues This fixes every leftover file in the GNU Radio source tree to match our clang-format definition. --- gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc') diff --git a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc index 7d63dc08d1..da71aafc52 100644 --- a/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc +++ b/gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc @@ -74,8 +74,8 @@ vmcircbuf_mmap_shm_open::vmcircbuf_mmap_shm_open(int size) : gr::vmcircbuf(size) // Where the "portable format" doesn't work, we try building // a full filesystem pathname pointing into a suitable temporary directory. - seg_name = str(boost::format("%s/gnuradio-%d-%d") % - gr::tmp_path() % getpid() % s_seg_counter); + seg_name = str(boost::format("%s/gnuradio-%d-%d") % gr::tmp_path() % + getpid() % s_seg_counter); } shm_fd = shm_open(seg_name.c_str(), O_RDWR | O_CREAT | O_EXCL, 0600); @@ -91,9 +91,8 @@ vmcircbuf_mmap_shm_open::vmcircbuf_mmap_shm_open(int size) : gr::vmcircbuf(size) EEXIST) // Named segment already exists (shouldn't happen). Try again continue; - static std::string msg = - str(boost::format("gr::vmcircbuf_mmap_shm_open: shm_open [%s]") % - seg_name); + static std::string msg = str( + boost::format("gr::vmcircbuf_mmap_shm_open: shm_open [%s]") % seg_name); perror(msg.c_str()); throw std::runtime_error("gr::vmcircbuf_mmap_shm_open"); } -- cgit v1.2.3