summaryrefslogtreecommitdiff
path: root/src/nonstd/__libc_start.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nonstd/__libc_start.c')
-rw-r--r--src/nonstd/__libc_start.c2
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)