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

Commit 7a2fa45c authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

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

Merge "fastboot: don't use sparse_file_import_auto() in load_buf_fd()" am: b0321c1d am: ddcd0637 am: a6496164
am: 7c8d2664

Change-Id: I6ceed6b8e3742f6057faf9658adabe7189219686
parents 4a9a3ae8 7c8d2664
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 {