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

Commit 30e648b3 authored by Daniel Zheng's avatar Daniel Zheng
Browse files

Keeping naming consistent

Test: m fastboot
Change-Id: I46d798fa2ce78a255dc0ea414f5e25782f45c4d1
parent 2775df61
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -775,7 +775,7 @@ static int make_temporary_fd(const char* what) {

#endif

static unique_fd unzip_to_file(ZipArchiveHandle zip, const char* entry_name) {
static unique_fd UnzipToFile(ZipArchiveHandle zip, const char* entry_name) {
    unique_fd fd(make_temporary_fd(entry_name));

    ZipEntry64 zip_entry;
@@ -1928,7 +1928,7 @@ bool ZipImageSource::ReadFile(const std::string& name, std::vector<char>* out) c
}

unique_fd ZipImageSource::OpenFile(const std::string& name) const {
    return unzip_to_file(zip_, name.c_str());
    return UnzipToFile(zip_, name.c_str());
}

static void do_update(const char* filename, FlashingPlan* fp) {