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/nonstd/__libc_start.c | |
| parent | 4f50d3e580761fd3c44fe8ed0db57858c5295f25 (diff) | |
remove __syscall_lookup()
Diffstat (limited to 'src/nonstd/__libc_start.c')
| -rw-r--r-- | src/nonstd/__libc_start.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nonstd/__libc_start.c b/src/nonstd/__libc_start.c index c06d2ffb..d8fd5875 100644 --- a/src/nonstd/__libc_start.c +++ b/src/nonstd/__libc_start.c @@ -14,7 +14,7 @@ #include "../termios/tcflag_t.c" #include "../termios/struct_termios.c" static struct termios __tios; -#define isatty(fd) (__syscall(__lookup("tcgetattr"), fd, &__tios) == 0) +#define isatty(fd) (__syscall(__syscall_lookup(tcgetattr), fd, &__tios) == 0) #endif void __libc_start(int argc, char **argv) |
