summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r--Kernel/Syscalls/hostname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/hostname.cpp b/Kernel/Syscalls/hostname.cpp
index 8f899dd00b..d81817d2db 100644
--- a/Kernel/Syscalls/hostname.cpp
+++ b/Kernel/Syscalls/hostname.cpp
@@ -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)