Merge pull request #4192 from valentinvanelslande/thread

svc: change unknown to thread in CreateThread
This commit is contained in:
Weiyi Wang 2018-09-09 18:41:51 -04:00 committed by GitHub
commit 9df1461cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -723,7 +723,7 @@ static ResultCode GetResourceLimitLimitValues(VAddr values, Handle resource_limi
/// Creates a new thread
static ResultCode CreateThread(Handle* out_handle, u32 priority, u32 entry_point, u32 arg,
u32 stack_top, s32 processor_id) {
std::string name = fmt::format("unknown-{:08X}", entry_point);
std::string name = fmt::format("thread-{:08X}", entry_point);
if (priority > THREADPRIO_LOWEST) {
return ERR_OUT_OF_RANGE;