From 4d006de2b958ad32e6cd44d960af4a92af8fd583 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 1 Mar 2021 16:07:50 +0100 Subject: Kernel: Fix build with IO_DEBUG --- Kernel/Syscalls/write.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Syscalls') 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 Process::sys$write(int fd, Userspace 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; -- cgit v1.2.3