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:
parent
272c2e6ec5
commit
4d006de2b9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue