summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2020-08-09 12:51:41 -0700
committerAndreas Kling <kling@serenityos.org>2020-08-10 12:52:15 +0200
commit1d9554f47082f64c33bdfff1e02098ad8a7aca27 (patch)
tree3c4af3e01cbff035600c59dbb6067cc1a004aeb8 /Kernel/Syscalls
parentb069d757a3d02e4b4f47cef69b0f149365f2aaed (diff)
downloadserenity-1d9554f47082f64c33bdfff1e02098ad8a7aca27.zip
Kernel: Use Userspace<T> for the gethostname syscall
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)