Kernel+LibC: Remove ESUCCESS

There's no official ESUCCESS==0 errno code, and it keeps breaking the
Lagom build when we use it, so let's just say 0 instead.
This commit is contained in:
Andreas Kling 2020-04-10 12:58:27 +02:00
commit c06d5ef114
Notes: sideshowbarker 2024-07-19 07:44:54 +09:00
4 changed files with 4 additions and 5 deletions

View file

@ -654,7 +654,7 @@ Vector<size_t, 2> Editor::vt_dsr()
do {
auto nread = read(0, buf + length, 16 - length);
if (nread < 0) {
if (errno == ESUCCESS) {
if (errno == 0) {
// ????
continue;
}