feat: unify system status codes

This commit is contained in:
daniel committed 2026-09-30 09:43:18 +02:00
1 parent 93894b8fe5
commit 8a3ffb2be1
46 files changed
+1499 -489

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
extern "C" void _start() {
montauk::print("Rebooting...\n");
int rc = montauk::reset();
if (rc == montauk::abi::SYS_ERR_PERMISSION)
if (rc == montauk::CapabilityDenied)
montauk::print("reset: permission denied\n");
else
montauk::print("reset: reboot failed\n");