mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
Kernel: Use Userspace<T> for the get_thread_name syscall
This commit is contained in:
parent
9652b0ae2b
commit
e073f2b59e
2 changed files with 2 additions and 2 deletions
|
@ -189,7 +189,7 @@ int Process::sys$set_thread_name(pid_t tid, Userspace<const char*> user_name, si
|
|||
return 0;
|
||||
}
|
||||
|
||||
int Process::sys$get_thread_name(pid_t tid, char* buffer, size_t buffer_size)
|
||||
int Process::sys$get_thread_name(pid_t tid, Userspace<char*> buffer, size_t buffer_size)
|
||||
{
|
||||
REQUIRE_PROMISE(thread);
|
||||
if (buffer_size == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue