diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2020-08-09 12:51:41 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-10 12:52:15 +0200 |
commit | 1d9554f47082f64c33bdfff1e02098ad8a7aca27 (patch) | |
tree | 3c4af3e01cbff035600c59dbb6067cc1a004aeb8 /Kernel/Syscalls | |
parent | b069d757a3d02e4b4f47cef69b0f149365f2aaed (diff) | |
download | serenity-1d9554f47082f64c33bdfff1e02098ad8a7aca27.zip |
Kernel: Use Userspace<T> for the gethostname syscall
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r-- | Kernel/Syscalls/hostname.cpp | 2 |
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) |