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:
Brian Gianforcaro 2020-08-08 12:17:35 -07:00 committed by Andreas Kling
parent 7ebba7bf3c
commit fe64d97001
Notes: sideshowbarker 2024-07-19 04:09:02 +09:00

View File

@ -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();