Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0321c1d authored by Tom Cherry's avatar Tom Cherry Committed by Gerrit Code Review
Browse files

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

parents 7922a446 fbb9535a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {