diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-03-06 17:10:32 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-03-06 17:10:32 +0000 |
commit | 4153b9005c460e02d36c457367a045444812bb97 (patch) | |
tree | d6f41a24f4f58d0c85725f61aea0e5deba6d21cd /com32/lib/sys/open.c | |
parent | 12eafad11c9c68c979309087d71f1c76e3f1c4b9 (diff) | |
parent | 16aa878d78086e9bc1c1f1053dc24da295f81e05 (diff) | |
download | syslinux-5.10-pre1.tar.gz |
Merge branch 'lwip-merge' into elflinksyslinux-5.10-pre1
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 3221bb60..1ed5bb4c 100644 --- a/com32/lib/sys/open.c +++ b/com32/lib/sys/open.c @@ -65,7 +65,7 @@ int open(const char *pathname, int flags, ...) fp = &__file_info[fd]; - handle = open_file(pathname, &fp->i.fd); + handle = open_file(pathname, flags, &fp->i.fd); if (handle < 0) { close(fd); errno = ENOENT; |