diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-12 10:03:53 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-12 10:03:53 -0400 |
| commit | a97a1ed57051fc0c4e2f2f803a4d6a734689cbdc (patch) | |
| tree | 55ebd06aae0741b3e4bfe975f7d91dc63b0c6a24 /src/fcntl | |
| parent | 4f50d3e580761fd3c44fe8ed0db57858c5295f25 (diff) | |
remove __syscall_lookup()
Diffstat (limited to 'src/fcntl')
| -rw-r--r-- | src/fcntl/fcntl.c | 2 | ||||
| -rw-r--r-- | src/fcntl/open.c | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |
