diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-01-09 12:34:08 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2020-01-10 19:21:38 -0800 |
commit | e0598e54b7202dfc0f37b402a2997e650c52b316 (patch) | |
tree | 3de3104b057a0173881ec00333180bd1427e9214 /gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc | |
parent | 4fd06de424850a0b70f6e8e959edcda9fe01f060 (diff) |
Fix all formatting issues
This fixes every leftover file in the GNU Radio source tree to match our
clang-format definition.
Diffstat (limited to 'gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc')
-rw-r--r-- | gnuradio-runtime/lib/vmcircbuf_mmap_shm_open.cc | 9 |
1 files changed, 4 insertions, 5 deletions
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"); } |