change errno to error to avoid confusion

This commit is contained in:
2026-10-06 00:20:35 +02:00
parent 57b1d338ac
commit 685f911431
6 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
struct syscall_ret {
uintptr_t value;
int errno;
int error;
};
struct syscall {
+1 -1
View File
@@ -1,5 +1,5 @@
#ifndef SYSCALL_DECLARE
#define SYSCALL_DECLARE(number, name, num_args) extern void sys_##name(...);
#define SYSCALL_DECLARE(number, name, num_args)
#endif
SYSCALL_DECLARE(0, exit, 1)