From afdecae49f81065952da43bb2629fcdb64aad535 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 8 Dec 2005 15:04:23 +0000 Subject: Use internal versions --- libc/termios/tcsetattr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/termios/tcsetattr.c') diff --git a/libc/termios/tcsetattr.c b/libc/termios/tcsetattr.c index 2bf2d2a29..3afa1012c 100644 --- a/libc/termios/tcsetattr.c +++ b/libc/termios/tcsetattr.c @@ -83,14 +83,14 @@ int attribute_hidden __tcsetattr (int fd, int optional_actions, const struct ter __memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0], __KERNEL_NCCS * sizeof (cc_t)); - retval = ioctl (fd, cmd, &k_termios); + retval = __ioctl (fd, cmd, &k_termios); if (retval == 0 && cmd == TCSETS) { /* The Linux kernel has a bug which silently ignore the invalid c_cflag on pty. We have to check it here. */ int save = errno; - retval = ioctl (fd, TCGETS, &k_termios); + retval = __ioctl (fd, TCGETS, &k_termios); if (retval) { /* We cannot verify if the setting is ok. We don't return -- cgit v1.2.3