diff options
Diffstat (limited to 'src/sys')
| -rw-r--r-- | src/sys/mman/mprotect.c | 2 | ||||
| -rw-r--r-- | src/sys/stat/chmod.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/mman/mprotect.c b/src/sys/mman/mprotect.c index ebce6e68..e2aa6b3b 100644 --- a/src/sys/mman/mprotect.c +++ b/src/sys/mman/mprotect.c @@ -1,6 +1,6 @@ #include <sys/mman.h> -int mprotect(void *addr, size_t len, int prot); +int mprotect(void *addr, size_t len, int prot) { return prot; } diff --git a/src/sys/stat/chmod.c b/src/sys/stat/chmod.c index 6b0d8c1a..975cf01a 100644 --- a/src/sys/stat/chmod.c +++ b/src/sys/stat/chmod.c @@ -4,7 +4,7 @@ int chmod(const char *path, mode_t mode) { - SYSCALL("chmod", int, -1, path, mode, 0, 0, 0, 0); + SYSCALL(chmod, int, -1, path, mode, 0, 0, 0, 0); } /* POSIX(1) |
