From 30e648b346599d9bd745e083148e545afa4142f2 Mon Sep 17 00:00:00 2001 From: Daniel Zheng Date: Thu, 25 May 2023 15:56:29 -0700 Subject: [PATCH] Keeping naming consistent Test: m fastboot Change-Id: I46d798fa2ce78a255dc0ea414f5e25782f45c4d1 --- fastboot/fastboot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index f5fd3a1ea..fcad0d915 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -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* 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) {