diff options
Diffstat (limited to 'src/gui/seqmanager/ControlBlockMmapper.cpp')
-rw-r--r-- | src/gui/seqmanager/ControlBlockMmapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/seqmanager/ControlBlockMmapper.cpp b/src/gui/seqmanager/ControlBlockMmapper.cpp index 46c632b..cfe24be 100644 --- a/src/gui/seqmanager/ControlBlockMmapper.cpp +++ b/src/gui/seqmanager/ControlBlockMmapper.cpp @@ -204,14 +204,14 @@ void ControlBlockMmapper::setFileSize(size_t size) // (seek() to wanted size, then write a byte) // if (::lseek(m_fd, size - 1, SEEK_SET) == -1) { - std::cerr << "WARNING: ControlBlockMmapper : Couldn't lseek in " << m_fileName + std::cerr << "WARNING: ControlBlockMmapper : Couldn't lseek in " << m_fileName.ascii() << " to " << size << std::endl; throw Exception("lseek failed"); } if (::write(m_fd, "\0", 1) != 1) { std::cerr << "WARNING: ControlBlockMmapper : Couldn't write byte in " - << m_fileName << std::endl; + << m_fileName.ascii() << std::endl; throw Exception("write failed"); } |