diff --git a/interfaces/kits/js/src/mod_fs/properties/copy_file.cpp b/interfaces/kits/js/src/mod_fs/properties/copy_file.cpp index b930dc5147a7f58b507e6054ac71901ea6477105..04ec8287e56551de47b01435143c027ecb8a2e2b 100644 --- a/interfaces/kits/js/src/mod_fs/properties/copy_file.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/copy_file.cpp @@ -79,7 +79,7 @@ static NError SendFileCore(FileInfo& srcFdg, FileInfo& destFdg, struct stat& sta return NError(ret); } if (static_cast(ret) > size) { - HILOGE("More bytes returned than the size of the file. The file size is %{public}d" \ + HILOGE("More bytes returned than the size of the file. The file size is %{public}zu" \ "The bytes returned is %{public}d", size, ret); return NError(EIO); }