X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/ec4ff182252b6d7b3cb81f4fa783c5348a6c30fd..084eac3d5fa7deeab2296cf20653f4f7b3f75cd0:/lunaix-os/usr/libc/src/posix/fcntl.c diff --git a/lunaix-os/usr/libc/src/posix/fcntl.c b/lunaix-os/usr/libc/src/posix/fcntl.c index 28f1ff3..f8c319e 100644 --- a/lunaix-os/usr/libc/src/posix/fcntl.c +++ b/lunaix-os/usr/libc/src/posix/fcntl.c @@ -1,14 +1,14 @@ -#include +#include #include int open(const char* path, int options) { - return do_lunaix_syscall(__SYSCALL_open, path, options); + return do_lunaix_syscall(__NR__lxsys_open, path, options); } int fstat(int fd, struct file_stat* stat) { - return do_lunaix_syscall(__SYSCALL_fstat, fd, stat); + return do_lunaix_syscall(__NR__lxsys_fstat, fd, stat); } \ No newline at end of file