Patch by Jens Arm: Fixed swapped arguments in _kern_create_[sym]link()

invocations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31689 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-07-22 13:50:28 +00:00
parent 1ad5198c09
commit c1dd2f540d
1 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ static int
fuse_symlink(const char* from, const char* to)
{
PRINTD("##symlink\n");
return _ERR(_kern_create_symlink(-1, from, to,
return _ERR(_kern_create_symlink(-1, to, from,
FSSH_S_IRWXU | FSSH_S_IRWXG | FSSH_S_IRWXO));
}
@ -261,7 +261,7 @@ static int
fuse_link(const char* from, const char* to)
{
PRINTD("##link\n");
return _ERR(_kern_create_link(from, to));
return _ERR(_kern_create_link(to, from));
}