summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ioctl.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-08-30 17:12:51 +0000
committerEric Andersen <andersen@codepoet.org>2006-08-30 17:12:51 +0000
commit245b4053dc63c5e23864fd1a57d595df2a5f06f7 (patch)
tree469e4d44fd87b93dc09a2fdaed5535cbf668d4c1 /libc/sysdeps/linux/common/ioctl.c
parenta4d40bdd8f0abf67dbe24a00eb81bdf82d76da09 (diff)
tweak a few syscalls using varargs
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)