mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:08:12 +00:00
Kernel: Use Userspace<T> for the sethostname syscall
This commit is contained in:
parent
1d9554f470
commit
cfedd62b5c
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ int Process::sys$gethostname(Userspace<char*> buffer, ssize_t size)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int Process::sys$sethostname(const char* hostname, ssize_t length)
|
||||
int Process::sys$sethostname(Userspace<const char*> hostname, ssize_t length)
|
||||
{
|
||||
REQUIRE_NO_PROMISES;
|
||||
if (!is_superuser())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue