diff --git a/interfaces/kits/js/src/mod_fs/properties/open.cpp b/interfaces/kits/js/src/mod_fs/properties/open.cpp index 7b5280059ddbd6bea3b4cdcd5608e45565439d64..dd6fbe3a7075db46f56a37a2bf1081f914eec79c 100644 --- a/interfaces/kits/js/src/mod_fs/properties/open.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/open.cpp @@ -148,7 +148,8 @@ static int OpenFileByPath(const string &path, unsigned int mode) #if !defined(WIN_PLATFORM) && !defined(IOS_PLATFORM) -static int OpenFileByDatashareHasUserId(const string &path, unsigned int flags, const string &userId) +static int OpenFileByDatashareHasUserId(const string &path, unsigned int flags, + const string &userId) { std::shared_ptr dataShareHelper = nullptr; sptr remote = new (std::nothrow) IRemoteStub();