summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/ioctl.c')
-rw-r--r--libc/sysdeps/linux/common/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/ioctl.c b/libc/sysdeps/linux/common/ioctl.c
index e4e710a71..ce2fb39a0 100644
--- a/libc/sysdeps/linux/common/ioctl.c
+++ b/libc/sysdeps/linux/common/ioctl.c
@@ -24,8 +24,8 @@ int ioctl(int fd, unsigned long int request, ...)
va_start(list, request);
arg = va_arg(list, void *);
-
va_end(list);
+
return __syscall_ioctl(fd, request, arg);
}
libc_hidden_def(ioctl)