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 b66e98f22c0c861c9b2f02dcf5b81fab0da67a3d..bff5b2b12bf16751cd2558b1d01b48746fa12b63 100644 --- a/interfaces/kits/js/src/mod_fs/properties/xattr_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/xattr_core.cpp @@ -31,11 +31,11 @@ constexpr size_t MAX_XATTR_SIZE = 4096; static bool IsIllegalXattr(const char *key, const char *value) { if (strnlen(key, MAX_XATTR_SIZE + 1) > MAX_XATTR_SIZE) { - HILOGE("key is too long"); + HILOGE("Key is too long"); return true; } if (strnlen(value, MAX_XATTR_SIZE + 1) > MAX_XATTR_SIZE) { - HILOGE("value is too long"); + HILOGE("Value is too long"); return true; } return false;