diff options
author | Tom Cherry <tomcherry@google.com> | 2019-09-18 14:44:42 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-09-18 14:44:42 +0000 |
commit | b0321c1de178ac2dfd05fb6537e0e63f7eecf87e (patch) | |
tree | 5c457a5870f4062b382a8b6abffb7095383b3cbb | |
parent | 7922a446371add87d4aa53b33f4fb1a633568f64 (diff) | |
parent | fbb9535aaea5ae4011f3c3edf4c00b27452f57ec (diff) |
Merge "fastboot: don't use sparse_file_import_auto() in load_buf_fd()"
-rw-r--r-- | fastboot/fastboot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index 4737ae4d6..a7fc628c4 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -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 { |