mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
Kernel: Use Userspace<T> for the gethostname syscall
This commit is contained in:
parent
b069d757a3
commit
1d9554f470
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ namespace Kernel {
|
|||
extern String* g_hostname;
|
||||
extern Lock* g_hostname_lock;
|
||||
|
||||
int Process::sys$gethostname(char* buffer, ssize_t size)
|
||||
int Process::sys$gethostname(Userspace<char*> buffer, ssize_t size)
|
||||
{
|
||||
REQUIRE_PROMISE(stdio);
|
||||
if (size < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue