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

Commit a6496164 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: b0321c1d

am: ddcd0637

Change-Id: I1250e0f38ed75d09d938813d4bbe350748c8c804
parents 6a90f559 ddcd0637
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 {