summaryrefslogtreecommitdiff
path: root/userland/libc/sys/mman/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/sys/mman/mmap.c')
-rw-r--r--userland/libc/sys/mman/mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/userland/libc/sys/mman/mmap.c b/userland/libc/sys/mman/mmap.c
index b9ad3a2..53c6f77 100644
--- a/userland/libc/sys/mman/mmap.c
+++ b/userland/libc/sys/mman/mmap.c
@@ -1,6 +1,6 @@
-#include <syscall.h>
#include <errno.h>
#include <sys/mman.h>
+#include <syscall.h>
extern int errno;
@@ -14,6 +14,6 @@ void *mmap(void *addr, size_t length, int prot, int flags, int fd,
.fd = fd,
.offset = offset,
};
-// return (void*)syscall(SYS_MMAP, &args, 0, 0, 0, 0);
+ // return (void*)syscall(SYS_MMAP, &args, 0, 0, 0, 0);
RC_ERRNO(syscall(SYS_MMAP, &args, 0, 0, 0, 0));
}