mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:27:34 +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
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue