Kernel: Fix my result propagation bug @BenWiederhake spotted
In #3001 I was trying to fix result propagation issues, and I actually just introduced another one. Luckily Ben spotted it in the diff after it was in the tree, thanks Ben!
This commit is contained in:
parent
7ebba7bf3c
commit
fe64d97001
Notes:
sideshowbarker
2024-07-19 04:09:02 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/fe64d97001a Pull-request: https://github.com/SerenityOS/serenity/pull/3049
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ ssize_t FileDescription::get_dir_entries(u8* buffer, ssize_t size)
|
|||
});
|
||||
|
||||
if (result.is_error())
|
||||
result.error();
|
||||
return result;
|
||||
|
||||
stream.snip();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue