about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/tcsetattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/tcsetattr.c')
-rw-r--r--sysdeps/unix/sysv/linux/tcsetattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/tcsetattr.c b/sysdeps/unix/sysv/linux/tcsetattr.c
index 031cad7add..a961052202 100644
--- a/sysdeps/unix/sysv/linux/tcsetattr.c
+++ b/sysdeps/unix/sysv/linux/tcsetattr.c
@@ -87,14 +87,14 @@ tcsetattr (fd, optional_actions, termios_p)
   memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0],
 	  __KERNEL_NCCS * sizeof (cc_t));
 
-  retval = __ioctl (fd, cmd, &k_termios);
+  retval = INLINE_SYSCALL (ioctl, 3, 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 = INLINE_SYSCALL (ioctl, 3, fd, TCGETS, &k_termios);
       if (retval)
 	{
 	  /* We cannot verify if the setting is ok. We don't return