diff --git a/sys/bootstrap/tar.c b/sys/bootstrap/tar.c index 7be6544..f447404 100644 --- a/sys/bootstrap/tar.c +++ b/sys/bootstrap/tar.c @@ -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;