summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc')
-rw-r--r--gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc b/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc
index f6c1777013..f7fd5e3d35 100644
--- a/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc
+++ b/gnuradio-runtime/lib/vmcircbuf_mmap_tmpfile.cc
@@ -65,11 +65,8 @@ vmcircbuf_mmap_tmpfile::vmcircbuf_mmap_tmpfile(int size) : gr::vmcircbuf(size)
// open a temporary file that we'll map in a bit later
while (1) {
- seg_name = str(boost::format(
- "%s/gnuradio-%d-%d-XXXXXX") %
- gr::tmp_path() %
- getpid() %
- s_seg_counter);
+ seg_name = str(boost::format("%s/gnuradio-%d-%d-XXXXXX") % gr::tmp_path() %
+ getpid() % s_seg_counter);
s_seg_counter++;
seg_fd = open(seg_name.c_str(), O_RDWR | O_CREAT | O_EXCL, 0600);