summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/__syscall_fcntl64.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/__syscall_fcntl64.c
parenta4d40bdd8f0abf67dbe24a00eb81bdf82d76da09 (diff)
tweak a few syscalls using varargs
Diffstat (limited to 'libc/sysdeps/linux/common/__syscall_fcntl64.c')
-rw-r--r--libc/sysdeps/linux/common/__syscall_fcntl64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl64.c b/libc/sysdeps/linux/common/__syscall_fcntl64.c
index a1daa7375..5d80f1849 100644
--- a/libc/sysdeps/linux/common/__syscall_fcntl64.c
+++ b/libc/sysdeps/linux/common/__syscall_fcntl64.c
@@ -24,8 +24,8 @@ int __libc_fcntl64(int fd, int cmd, ...)
va_start(list, cmd);
arg = va_arg(list, long);
-
va_end(list);
+
return (__syscall_fcntl64(fd, cmd, arg));
}
libc_hidden_def(__libc_fcntl64)