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

Commit ddcd0637 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

Change-Id: Ib229398e1cadc9dbc69ff4297d4efad25c1c28c4
parents 0547507f b0321c1d
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 {