1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

Kernel: Fix build with IO_DEBUG

This commit is contained in:
Andreas Kling 2021-03-01 16:07:50 +01:00
parent 272c2e6ec5
commit 4d006de2b9

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;