From 2ab3ff44951c230e625ebc407711d8b8f18600ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 2 Feb 2005 06:23:38 +0000 Subject: [PATCH] _kern_open() now has one more argument. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11207 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/apps/rld/rldelf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/apps/rld/rldelf.c b/src/kernel/apps/rld/rldelf.c index e8bb78ea10..f01d70e14d 100644 --- a/src/kernel/apps/rld/rldelf.c +++ b/src/kernel/apps/rld/rldelf.c @@ -916,7 +916,7 @@ open_container(char *name, image_type type) if (strchr(name, '/')) { // the name already contains a path, we don't have to search for it - return _kern_open(-1, name, O_RDONLY); + return _kern_open(-1, name, O_RDONLY, 0); } // let's evaluate the system path variables to find the container @@ -960,7 +960,7 @@ open_container(char *name, image_type type) TRACE(("rld.so: open_container(%s): trying %s\n", name, buffer)); - fd = _kern_open(-1, buffer, O_RDONLY); + fd = _kern_open(-1, buffer, O_RDONLY, 0); if (fd >= B_OK) { // we found it, copy path! TRACE(("rld.so: open_container(%s): found at %s\n", name, buffer));