_kern_open() now has one more argument.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11207 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-02-02 06:23:38 +00:00
parent 72b8a30907
commit 2ab3ff4495
+2 -2
View File
@@ -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));