fix
This commit is contained in:
@ -575,7 +575,7 @@ auto file_manager::open_file::write(std::uint64_t write_offset,
|
||||
}
|
||||
|
||||
auto res = do_io([&]() -> api_error {
|
||||
if (not nf_.write(data.data(), data.size(), write_offset, &bytes_written)) {
|
||||
if (not nf_.write(data, write_offset, &bytes_written)) {
|
||||
return api_error::os_error;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user