From c1dd2f540d78c01cb82069ae120df053c2bea02b Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 22 Jul 2009 13:50:28 +0000 Subject: [PATCH] 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 --- src/tools/fs_shell/fuse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/fs_shell/fuse.cpp b/src/tools/fs_shell/fuse.cpp index 0d04096192..15e8111a78 100644 --- a/src/tools/fs_shell/fuse.cpp +++ b/src/tools/fs_shell/fuse.cpp @@ -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)); }