mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
Kernel: Fix build with IO_DEBUG
This commit is contained in:
parent
272c2e6ec5
commit
4d006de2b9
Notes:
sideshowbarker
2024-07-18 21:48:42 +09:00
Author: https://github.com/awesomekling
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