1
Fork 0
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:
Brian Gianforcaro 2020-08-09 15:29:55 -07:00 committed by Andreas Kling
parent 9652b0ae2b
commit e073f2b59e
2 changed files with 2 additions and 2 deletions

View file

@ -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)