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

@ -49,7 +49,7 @@ public:
operator int() const { return m_error; }
int error() const { return m_error; }
bool is_success() const { return m_error == ESUCCESS; }
bool is_success() const { return m_error == 0; }
bool is_error() const { return !is_success(); }
private: