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

Commit bc10150e authored by David Anderson's avatar David Anderson Committed by Automerger Merge Worker
Browse files

Merge "libsparse: Don't spam errors in sparse_file_import_auto." am: bed6eea3 am: 5b8a2a6e

parents 5d721294 5b8a2a6e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -670,7 +670,7 @@ struct sparse_file* sparse_file_import_auto(int fd, bool crc, bool verbose) {
  int64_t len;
  int ret;

  s = sparse_file_import(fd, verbose, crc);
  s = sparse_file_import(fd, false, crc);
  if (s) {
    return s;
  }
@@ -686,6 +686,9 @@ struct sparse_file* sparse_file_import_auto(int fd, bool crc, bool verbose) {
  if (!s) {
    return nullptr;
  }
  if (verbose) {
    sparse_file_verbose(s);
  }

  ret = sparse_file_read_normal(s, fd);
  if (ret < 0) {