bootstrap: tar: use the nr_written value returned by xpc_buffer_write to increment the file cursor

This commit is contained in:
2026-03-21 10:56:32 +00:00
parent 24fc8ecb97
commit 1e52036585

View File

@@ -191,7 +191,7 @@ static enum fs_status file_read(
size_t w;
xpc_buffer_write(buf, src, count, &w);
offset += count;
offset += w;
*seek = offset;
return FS_SUCCESS;