From d841f033e01eab1b2af88fe6c44d9e1776240681 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 29 Apr 2003 23:10:07 +0000
Subject: [PATCH] Fixed typo in call to va_arg.

---
 src/xpdev/filewrap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xpdev/filewrap.c b/src/xpdev/filewrap.c
index be6eef10ec..fd34ebf6ab 100644
--- a/src/xpdev/filewrap.c
+++ b/src/xpdev/filewrap.c
@@ -168,7 +168,7 @@ int DLLCALL sopen(const char *fn, int access, int share, ...)
 
     if(access&O_CREAT) {
         va_start(ap,share);
-        pmode = va_arg(ap,unsigned int));
+        pmode = va_arg(ap,unsigned int);
         va_end(ap);
     }
 
-- 
GitLab