fixed impact of windows fixes on other builds
This commit is contained in:
@ -50,6 +50,6 @@ void TaskFactory::printMissedDeadline() {
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
sif::warning << "TaskFactory::printMissedDeadline: " << name << std::endl;
|
||||
#else
|
||||
sif::printWarning("TaskFactory::printMissedDeadline: %s\n", name);
|
||||
sif::printWarning("TaskFactory::printMissedDeadline: %s\n", name.c_str());
|
||||
#endif /* FSFW_CPP_OSTREAM_ENABLED == 1 */
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ void CommandExecutor::printLastError(std::string funcName) const {
|
||||
sif::warning << funcName << " pclose failed with code " << lastError << ": "
|
||||
<< strerror(lastError) << std::endl;
|
||||
#else
|
||||
sif::printError("%s pclose failed with code %d: %s\n", funcName, lastError,
|
||||
sif::printError("%s pclose failed with code %d: %s\n", funcName.c_str(), lastError,
|
||||
strerror(lastError));
|
||||
#endif
|
||||
}
|
||||
@ -119,7 +119,7 @@ ReturnValue_t CommandExecutor::check(bool& replyReceived) {
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
sif::info << currentCmd << " | " << readVec.data();
|
||||
#else
|
||||
sif::printInfo("%s | %s", currentCmd, readVec.data());
|
||||
sif::printInfo("%s | %s", currentCmd.c_str(), readVec.data());
|
||||
#endif
|
||||
}
|
||||
if (ringBuffer != nullptr) {
|
||||
@ -188,7 +188,7 @@ ReturnValue_t CommandExecutor::executeBlocking() {
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
sif::info << currentCmd << " | " << output;
|
||||
#else
|
||||
sif::printInfo("%s | %s", currentCmd, output);
|
||||
sif::printInfo("%s | %s", currentCmd.c_str(), output.c_str());
|
||||
#endif
|
||||
}
|
||||
if (ringBuffer != nullptr) {
|
||||
|
Reference in New Issue
Block a user