diff --git a/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp b/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp index c11ea500..10e6e938 100644 --- a/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp +++ b/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp @@ -1460,8 +1460,7 @@ auto remote_server::winfsp_rename(PVOID /*file_desc*/, PWSTR file_name, res = drive_.rename_directory(construct_api_path(file_path), construct_api_path(new_file_path)); event_system::instance().raise( - function_name, - fmt::format("path|{}|res|{}", api_error_to_string(res))); + function_name, fmt::format("path|{}|res|{}|errno|", res, errno)); ret = ((res < 0) ? errno == EISDIR ? static_cast(STATUS_ACCESS_DENIED)