The FD supplied to _user_open() was not passed to file_open().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10875 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1f071637ed
commit
327a7d825f
@ -5457,7 +5457,7 @@ _user_open(int fd, const char *userPath, int openMode)
|
||||
if (status < 0)
|
||||
return status;
|
||||
|
||||
return file_open(-1, path, openMode, false);
|
||||
return file_open(fd, path, openMode, false);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user