summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
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/Process.h
parentb069d757a3d02e4b4f47cef69b0f149365f2aaed (diff)
downloadserenity-1d9554f47082f64c33bdfff1e02098ad8a7aca27.zip
Kernel: Use Userspace<T> for the gethostname syscall
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index f7d84d6208..879997c2ab 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -250,7 +250,7 @@ public:
int sys$clock_gettime(clockid_t, Userspace<timespec*>);
int sys$clock_settime(clockid_t, Userspace<const timespec*>);
int sys$clock_nanosleep(Userspace<const Syscall::SC_clock_nanosleep_params*>);
- int sys$gethostname(char*, ssize_t);
+ int sys$gethostname(Userspace<char*>, ssize_t);
int sys$sethostname(const char*, ssize_t);
int sys$uname(utsname*);
int sys$readlink(Userspace<const Syscall::SC_readlink_params*>);