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/nonstd/__libc_start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nonstd/__libc_start.c') 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) -- cgit v1.2.1