From d7b5fbefe09230d04577bcd20afff69135e6fe0f Mon Sep 17 00:00:00 2001 From: yangbiao59 Date: Mon, 12 May 2025 09:15:12 +0000 Subject: [PATCH] =?UTF-8?q?update=20interfaces/kits/js/src/mod=5Ffs/proper?= =?UTF-8?q?ties/symlink=5Fcore.cpp.=20uv=5Ffs=5Fsymlink=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=B0=83=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangbiao59 --- interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp b/interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp index c44718718..217f429fd 100644 --- a/interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/symlink_core.cpp @@ -35,7 +35,7 @@ FsResult SymlinkCore::DoSymlink(const string &target, const string &srcPat HILOGE("Failed to request heap memory."); return FsResult::Error(ENOMEM); } - int ret = uv_fs_symlink(nullptr, symlinkReq.get(), srcPath.c_str(), target.c_str(), 0, nullptr); + int ret = uv_fs_symlink(nullptr, symlinkReq.get(), target.c_str(), srcPath.c_str(), 0, nullptr); if (ret < 0) { HILOGE("Failed to create a link for old path"); return FsResult::Error(ret); -- Gitee