format fixes

This commit is contained in:
Ray Jenkins 2022-01-28 18:21:42 -06:00
parent ef4e61ee33
commit 6a1fe2489a
1 changed files with 2 additions and 8 deletions

View File

@ -2759,15 +2759,9 @@ THREAD_HANDLE startThread(void* (*func)(void*), void* arg, int stackSize, const
// return ENOENT or ESRCH. We'll log when ENOENT or ESRCH is encountered and continue, otherwise we'll log and
// throw a platform_error.
if (errno == ENOENT || errno == ESRCH) {
TraceEvent(SevWarn, "PthreadSetNameNp")
.detail("Name", name)
.detail("ReturnCode", retVal)
.GetLastError();
TraceEvent(SevWarn, "PthreadSetNameNp").detail("Name", name).detail("ReturnCode", retVal).GetLastError();
} else {
TraceEvent(SevError, "PthreadSetNameNp")
.detail("Name", name)
.detail("ReturnCode", retVal)
.GetLastError();
TraceEvent(SevError, "PthreadSetNameNp").detail("Name", name).detail("ReturnCode", retVal).GetLastError();
throw platform_error();
}
}