summaryrefslogtreecommitdiff
path: root/com32/lib/sys/open.c
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2010-08-20 11:56:58 +0800
committerFeng Tang <feng.tang@intel.com>2010-08-26 16:44:15 +0800
commit626c8a3653878d0ed0dc1280dd8dd2434d041551 (patch)
treeb2ac6a94025f429da7208ffd50064c3e3c0c98f4 /com32/lib/sys/open.c
parenta08e149bf3abd29ed87ebc01dbb96207f515a0cf (diff)
downloadsyslinux-626c8a3653878d0ed0dc1280dd8dd2434d041551.tar.gz
elflink: remove all __com32.cs_pm from com32/
We don't need these wrappers any more, as we can directly call those APIs from core lib
Diffstat (limited to 'com32/lib/sys/open.c')
-rw-r--r--com32/lib/sys/open.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/com32/lib/sys/open.c b/com32/lib/sys/open.c
index 1d7677bc..a071c61b 100644
--- a/com32/lib/sys/open.c
+++ b/com32/lib/sys/open.c
@@ -63,8 +63,7 @@ int open(const char *pathname, int flags, ...)
return -1;
fp = &__file_info[fd];
-
- handle = __com32.cs_pm->open_file(pathname, &fp->i.fd);
+ handle = open_file(pathname, &fp->i.fd);
if (handle < 0)
return -1;