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

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

Change-Id: I0ec22d63080528854a1a6d8a4c0df4c44c89f0f5
parents b2565b1f a6496164
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 {