summaryrefslogtreecommitdiff
path: root/src/fcntl/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcntl/open.c')
-rw-r--r--src/fcntl/open.c4
1 files changed, 2 insertions, 2 deletions
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) {