From a97a1ed57051fc0c4e2f2f803a4d6a734689cbdc Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 12 Aug 2020 10:03:53 -0400 Subject: remove __syscall_lookup() --- src/fcntl/fcntl.c | 2 +- src/fcntl/open.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fcntl') diff --git a/src/fcntl/fcntl.c b/src/fcntl/fcntl.c index d2abcf48..a588ef54 100644 --- a/src/fcntl/fcntl.c +++ b/src/fcntl/fcntl.c @@ -6,7 +6,7 @@ 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 04102a64..15cee2e4 100644 --- a/src/fcntl/open.c +++ b/src/fcntl/open.c @@ -7,7 +7,7 @@ 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) { -- cgit v1.2.1