diff options
Diffstat (limited to 'com32/lib/sys/open.c')
-rw-r--r-- | com32/lib/sys/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/sys/open.c b/com32/lib/sys/open.c index 3e7bb6cf..b4673b20 100644 --- a/com32/lib/sys/open.c +++ b/com32/lib/sys/open.c @@ -61,7 +61,7 @@ int open(const char *pathname, int flags, ...) fp = &__file_info[fd]; - handle = __com32.cs_pm->open_file(pathname, &fp->i.fd); + handle = __com32.cs_pm->open_file(pathname, flags, &fp->i.fd); if (handle < 0) { close(fd); errno = ENOENT; |