mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
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:
parent
e5da1cc566
commit
c06d5ef114
4 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue