summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-09-15 14:18:44 -0400
committerAndreas Kling <kling@serenityos.org>2020-09-15 20:20:38 +0200
commitc9a3a5b488f2fcfa758973eea2351a39d54be677 (patch)
tree2871a242737f5a95ce563fd60a3d450bdd92f290 /Kernel/Syscalls
parente1c54b8a0f6415aadcadc69d2118e359dc0577e5 (diff)
downloadserenity-c9a3a5b488f2fcfa758973eea2351a39d54be677.zip
Kernel: Use Userspace<> for sys$writev
Diffstat (limited to 'Kernel/Syscalls')
-rw-r--r--Kernel/Syscalls/write.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/write.cpp b/Kernel/Syscalls/write.cpp
index 0385bcbb8e..fbdcd3e893 100644
--- a/Kernel/Syscalls/write.cpp
+++ b/Kernel/Syscalls/write.cpp
@@ -30,7 +30,7 @@
namespace Kernel {
-ssize_t Process::sys$writev(int fd, const struct iovec* iov, int iov_count)
+ssize_t Process::sys$writev(int fd, Userspace<const struct iovec*> iov, int iov_count)
{
REQUIRE_PROMISE(stdio);
if (iov_count < 0)