1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +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:
Andreas Kling 2020-04-10 12:58:27 +02:00
parent e5da1cc566
commit c06d5ef114
4 changed files with 4 additions and 5 deletions

View file

@ -3978,7 +3978,7 @@ int Process::sys$halt()
dbg() << "attempting system shutdown...";
IO::out16(0x604, 0x2000);
return ESUCCESS;
return 0;
}
int Process::sys$reboot()
@ -3998,7 +3998,7 @@ int Process::sys$reboot()
dbg() << "attempting reboot via KB Controller...";
IO::out8(0x64, 0xFE);
return ESUCCESS;
return 0;
}
int Process::sys$mount(const Syscall::SC_mount_params* user_params)