diff options
Diffstat (limited to 'src/fcntl')
| -rw-r--r-- | src/fcntl/fcntl.c | 4 | ||||
| -rw-r--r-- | src/fcntl/open.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/fcntl/fcntl.c b/src/fcntl/fcntl.c index b02745e9..a588ef54 100644 --- a/src/fcntl/fcntl.c +++ b/src/fcntl/fcntl.c @@ -2,11 +2,11 @@ #include <fcntl.h> #include "errno.h" #include "stdarg.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" int fcntl(int fildes, int cmd, ...) { - SYSCALL_NUMBER(scno, "fcntl", -1); + SYSCALL_NUMBER(scno, fcntl, -1); int r = -ENOSYS; enum { NONE, INT, FLOCK } arg = NONE; diff --git a/src/fcntl/open.c b/src/fcntl/open.c index 07bf7f6d..15cee2e4 100644 --- a/src/fcntl/open.c +++ b/src/fcntl/open.c @@ -3,11 +3,11 @@ #include "sys/stat.h" /* OH */ #include "errno.h" #include "stdarg.h" -#include "nonstd/syscall.h" +#include "../_syscall.h" int open(const char *path, int oflag, ...) { - SYSCALL_NUMBER(scno, "open", -1); + SYSCALL_NUMBER(scno, open, -1); mode_t mode = 0; if (oflag & O_CREAT) { |
