various bugfixes

This commit is contained in:
2021-07-23 17:06:10 +02:00
parent 64844f83a9
commit 46e2e40cb1
3 changed files with 29 additions and 7 deletions

View File

@ -3,9 +3,11 @@
#include "utility.h"
#include "fsfw/serviceinterface/ServiceInterface.h"
#include <cstring>
void utility::handleSystemError(int retcode, std::string function) {
#if OBSW_VERBOSE_LEVEL >= 1
sif::warning << function << ": System call failed with code " << retcode;
sif::warning << function << ": System call failed with code " << retcode << ": " <<
strerror(retcode) << std::endl;
#endif
}