mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
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: fe64d97001
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())
|
if (result.is_error())
|
||||||
result.error();
|
return result;
|
||||||
|
|
||||||
stream.snip();
|
stream.snip();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue