summaryrefslogtreecommitdiff
path: root/libc/termios/tcgetattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/tcgetattr.c')
-rw-r--r--libc/termios/tcgetattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/termios/tcgetattr.c b/libc/termios/tcgetattr.c
index 8a9448bd7..3fd6d29d6 100644
--- a/libc/termios/tcgetattr.c
+++ b/libc/termios/tcgetattr.c
@@ -37,7 +37,7 @@ int attribute_hidden __tcgetattr (int fd, struct termios *termios_p)
struct __kernel_termios k_termios;
int retval;
- retval = ioctl (fd, TCGETS, &k_termios);
+ retval = __ioctl (fd, TCGETS, &k_termios);
termios_p->c_iflag = k_termios.c_iflag;
termios_p->c_oflag = k_termios.c_oflag;