aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/isatty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/isatty.c')
-rw-r--r--sysdeps/unix/sysv/linux/isatty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/isatty.c b/sysdeps/unix/sysv/linux/isatty.c
index 3faaec5..e7e98f8 100644
--- a/sysdeps/unix/sysv/linux/isatty.c
+++ b/sysdeps/unix/sysv/linux/isatty.c
@@ -24,6 +24,6 @@ int
__isatty (int fd)
{
struct termios2 k_termios;
- return INLINE_SYSCALL_CALL (ioctl, fd, TCGETS2, &k_termios) == 0;
+ return INLINE_SYSCALL_CALL (ioctl, fd, ARCH_TCGETS, &k_termios) == 0;
}
weak_alias (__isatty, isatty)