summaryrefslogtreecommitdiff
path: root/libc/termios/tcgetsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/tcgetsid.c')
-rw-r--r--libc/termios/tcgetsid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/termios/tcgetsid.c b/libc/termios/tcgetsid.c
index 54d317724..e4ba87ac5 100644
--- a/libc/termios/tcgetsid.c
+++ b/libc/termios/tcgetsid.c
@@ -40,7 +40,7 @@ pid_t tcgetsid (int fd)
int serrno = errno;
int sid;
- if (ioctl (fd, TIOCGSID, &sid) < 0)
+ if (__ioctl (fd, TIOCGSID, &sid) < 0)
{
if (errno == EINVAL)
{