diff --git a/Userland/Libraries/LibC/errno_numbers.h b/Userland/Libraries/LibC/errno_numbers.h index 75254037d3e..8c9f73865ff 100644 --- a/Userland/Libraries/LibC/errno_numbers.h +++ b/Userland/Libraries/LibC/errno_numbers.h @@ -133,8 +133,6 @@ enum ErrnoCode { #define ENOPROTOOPT ENOPROTOOPT ENOTCONN, #define ENOTCONN ENOTCONN - EWOULDBLOCK, -#define EWOULDBLOCK EWOULDBLOCK EPROTONOSUPPORT, #define EPROTONOSUPPORT EPROTONOSUPPORT EDEADLK, @@ -158,3 +156,5 @@ enum ErrnoCode { EMAXERRNO, #define EMAXERRNO EMAXERRNO }; + +#define EWOULDBLOCK EAGAIN diff --git a/Userland/Libraries/LibC/string.cpp b/Userland/Libraries/LibC/string.cpp index 24ecc430072..04021f98110 100644 --- a/Userland/Libraries/LibC/string.cpp +++ b/Userland/Libraries/LibC/string.cpp @@ -338,7 +338,6 @@ const char* const sys_errlist[] = { "No message", "No protocol option", "Not connected", - "Operation would block", "Protocol not supported", "Resource deadlock would occur", "Timed out",