1
Fork 0
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:
Brian Gianforcaro 2020-08-09 12:51:41 -07:00 committed by Andreas Kling
parent b069d757a3
commit 1d9554f470
2 changed files with 2 additions and 2 deletions

View file

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