From 6100cc6acefebcd2ef2a897c0daf93dea5fbb3e8 Mon Sep 17 00:00:00 2001 From: tianp Date: Tue, 5 Aug 2025 14:44:09 +0800 Subject: [PATCH] =?UTF-8?q?setxattr=E6=8E=A5=E5=8F=A3=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: tianp Change-Id: I359c61a291ae8144fd2f6ac444df637a8312b5b6 --- interfaces/kits/js/src/mod_fs/properties/xattr_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/xattr_core.cpp b/interfaces/kits/js/src/mod_fs/properties/xattr_core.cpp index b66e98f22..4fb83c70a 100644 --- a/interfaces/kits/js/src/mod_fs/properties/xattr_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/xattr_core.cpp @@ -65,7 +65,7 @@ FsResult XattrCore::DoSetXattr(const string &path, const string &key, cons return FsResult::Error(EINVAL); } if (setxattr(path.c_str(), key.c_str(), value.c_str(), strnlen(value.c_str(), MAX_XATTR_SIZE), 0) < 0) { - HILOGE("setxattr fail, errno is %{public}d", errno); + HILOGE("Setxattr fail, errno is %{public}d", errno); return FsResult::Error(errno); } return FsResult::Success(); -- Gitee