From 76d0a2c4abb373551d7ff3559c9808907944041b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 5 Sep 2003 07:58:18 +0000 Subject: Update. * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Likewise. --- sysdeps/unix/sysv/linux/fcntl.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/fcntl.c b/sysdeps/unix/sysv/linux/fcntl.c index 33651d3c10..a6793bc526 100644 --- a/sysdeps/unix/sysv/linux/fcntl.c +++ b/sysdeps/unix/sysv/linux/fcntl.c @@ -26,8 +26,15 @@ int -__fcntl_nocancel (int fd, int cmd, void *arg) +__fcntl_nocancel (int fd, int cmd, ...) { + va_list ap; + void *arg; + + va_start (ap, cmd); + arg = va_arg (ap, void *); + va_end (ap); + return INLINE_SYSCALL (fcntl, 3, fd, cmd, arg); } -- cgit v1.2.3-70-g09d2