1
0
Fork 0

DBG: more message fixes

This commit is contained in:
Duncan Ogilvie 2018-06-03 17:47:01 +02:00
parent 01960c556b
commit db17e323fe
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 2 additions and 2 deletions

View File

@ -407,7 +407,7 @@ void TraceRecordManager::TraceExecuteRecord(const Zydis & newInstruction)
{
CloseHandle(rtFile);
String error = stringformatinline(StringUtils::sprintf("{winerror@%d}", GetLastError()));
dprintf(QT_TRANSLATE_NOOP("DBG", "Run trace has stopped unexpectedly because WriteFile() failed. GetLastError()= %s.\r\n"), error.c_str());
dprintf(QT_TRANSLATE_NOOP("DBG", "Run trace has stopped unexpectedly because WriteFile() failed. GetLastError() = %s.\r\n"), error.c_str());
rtEnabled = false;
}
}
@ -552,7 +552,7 @@ bool TraceRecordManager::enableRunTrace(bool enabled, const char* fileName)
else
{
String error = stringformatinline(StringUtils::sprintf("{winerror@%d}", GetLastError()));
dprintf(QT_TRANSLATE_NOOP("DBG", "Cannot create run trace file. GetLastError()= %s.\r\n"), error.c_str());
dprintf(QT_TRANSLATE_NOOP("DBG", "Cannot create run trace file. GetLastError() = %s.\r\n"), error.c_str());
return false;
}
}