diff --git a/slsReceiverSoftware/include/HDF5FileStatic.h b/slsReceiverSoftware/include/HDF5FileStatic.h index 123bda26f..7f89a3348 100644 --- a/slsReceiverSoftware/include/HDF5FileStatic.h +++ b/slsReceiverSoftware/include/HDF5FileStatic.h @@ -143,8 +143,9 @@ public: static void CloseVirtualDataFile(hid_t& fd) { if(fd) { - if (H5Fclose(fd) < 0 ) + if (H5Fclose(fd) < 0 ) { FILE_LOG(logERROR) << "Could not close virtual HDF5 handles"; + } fd = 0; } } @@ -810,7 +811,7 @@ public: } else if (datatype == PredType::STD_U8LE) { FILE_LOG(logINFO) << "datatype:8"; } else { - FILE_LOG(logERROR) << "Unknown datatype: " << datetype; + FILE_LOG(logERROR) << "Unknown datatype: " << datatype; return 1; } FILE_LOG(logINFO) << "owenable:" << (owenable?1:0) << std::endl diff --git a/slsReceiverSoftware/src/slsReceiverImplementation.cpp b/slsReceiverSoftware/src/slsReceiverImplementation.cpp index 7d000290b..36b4ab721 100644 --- a/slsReceiverSoftware/src/slsReceiverImplementation.cpp +++ b/slsReceiverSoftware/src/slsReceiverImplementation.cpp @@ -451,7 +451,7 @@ void slsReceiverImplementation::setFileFormat(const fileFormat f) { for(const auto& it : dataProcessor) it->SetFileFormat(f); - FILE_LOG(logINFO) << "File Format:" << getFileFormatType(fileFormatType); + FILE_LOG(logINFO) << "File Format: " << getFileFormatType(fileFormatType); }