diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 15:04:23 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-08 15:04:23 +0000 |
commit | afdecae49f81065952da43bb2629fcdb64aad535 (patch) | |
tree | 6812f3969a0dc88c8ef60bbbeb41e4a78c064cda /libc/termios/tcsetattr.c | |
parent | ceca97e8eaee5878711eb2c2047859e4ced79be0 (diff) |
Use internal versions
Diffstat (limited to 'libc/termios/tcsetattr.c')
-rw-r--r-- | libc/termios/tcsetattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |