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