added more or less meaningful descriptions when throwing SystemExceptions
[senf.git] / senf / Socket / Protocols / DVB / DVBDemuxSocketProtocol.cc
index 43d348d..0c36459 100644 (file)
@@ -47,9 +47,9 @@ prefix_ void senf::DVBDemuxSocketProtocol::setBufferSize(unsigned long size)
     const
 {
     if (::ioctl(fd(), DMX_SET_BUFFER_SIZE, size) < 0)
-        SENF_THROW_SYSTEM_EXCEPTION("")
-              << "Could not set the size of the buffer on DVB adapter. requested size: "
-              << size << ".";
+        SENF_THROW_SYSTEM_EXCEPTION(
+                "Could not set the size of the buffer on DVB adapter. requested size: ")
+                << size << ".";
 }
 
 prefix_ void senf::DVBDemuxSocketProtocol::startFiltering()