Merge "fastboot: don't use sparse_file_import_auto() in load_buf_fd()"

This commit is contained in:
Tom Cherry 2019-09-18 14:44:42 +00:00 committed by Gerrit Code Review
commit b0321c1de1
1 changed files with 1 additions and 1 deletions

View File

@ -874,7 +874,7 @@ static bool load_buf_fd(int fd, struct fastboot_buffer* buf) {
return false;
}
if (sparse_file* s = sparse_file_import_auto(fd, false, false)) {
if (sparse_file* s = sparse_file_import(fd, false, false)) {
buf->image_size = sparse_file_len(s, false, false);
sparse_file_destroy(s);
} else {