Kernel: Fix build with IO_DEBUG

This commit is contained in:
Andreas Kling 2021-03-01 16:07:50 +01:00
commit 4d006de2b9
Notes: sideshowbarker 2024-07-18 21:48:42 +09:00

View file

@ -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;