| Index: native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc
|
| diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc
|
| index f560d3b125705959f41e69ed960a139222c8e6b6..662c7cc21f9a54a63a4fc64d6e2fe2039b970dcc 100644
|
| --- a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc
|
| +++ b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc
|
| @@ -186,7 +186,7 @@ int WRAP(munmap)(void* addr, size_t length) {
|
| }
|
|
|
| int WRAP(open)(const char* pathname, int oflag, mode_t cmode, int* newfd) {
|
| - *newfd = ki_open(pathname, oflag);
|
| + *newfd = ki_open(pathname, oflag, cmode);
|
| ERRNO_RTN(*newfd);
|
| }
|
|
|
|
|