summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-01 16:07:50 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-01 16:07:50 +0100
commit4d006de2b958ad32e6cd44d960af4a92af8fd583 (patch)
treefc542de13e392e1fc4d766ad0684530ca00b7221 /Kernel/Syscalls
parent272c2e6ec54c6e013c971214f59046f3e27ea55a (diff)
downloadserenity-4d006de2b958ad32e6cd44d960af4a92af8fd583.zip
Kernel: Fix build with IO_DEBUG
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 b5e070522b..c279592d7e 100644
--- a/Kernel/Syscalls/write.cpp
+++ b/Kernel/Syscalls/write.cpp
@@ -122,7 +122,7 @@ KResultOr<ssize_t> Process::sys$write(int fd, Userspace<const u8*> data, ssize_t
if (size == 0)
return 0;
- dbgln_if(IO_DEBUG, "sys$write({}, {}, {})", fd, data, size);
+ dbgln_if(IO_DEBUG, "sys$write({}, {}, {})", fd, data.ptr(), size);
auto description = file_description(fd);
if (!description)
return EBADF;