summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-cygwin_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/bsd-cygwin_util.c')
-rw-r--r--openbsd-compat/bsd-cygwin_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.c b/openbsd-compat/bsd-cygwin_util.c
index 8672ccf7f..398a5f617 100644
--- a/openbsd-compat/bsd-cygwin_util.c
+++ b/openbsd-compat/bsd-cygwin_util.c
@@ -39,12 +39,12 @@
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41 41
42int 42int
43binary_open(const char *filename, int flags, ...) 43binary_open(const char *filename, int flags, ...)
44{ 44{
45 va_list ap; 45 va_list ap;
46 mode_t mode; 46 mode_t mode;
47 47
48 va_start(ap, flags); 48 va_start(ap, flags);
49 mode = va_arg(ap, mode_t); 49 mode = va_arg(ap, mode_t);
50 va_end(ap); 50 va_end(ap);