mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 22:23:56 +08:00
bootlog: rename bz_file to file (#25881)
This commit is contained in:
@@ -55,13 +55,11 @@ int main(int argc, char** argv) {
|
||||
bool r = util::create_directories(LOG_ROOT + "/boot/", 0775);
|
||||
assert(r);
|
||||
|
||||
RawFile bz_file(path.c_str());
|
||||
|
||||
RawFile file(path.c_str());
|
||||
// Write initdata
|
||||
bz_file.write(logger_build_init_data().asBytes());
|
||||
|
||||
file.write(logger_build_init_data().asBytes());
|
||||
// Write bootlog
|
||||
bz_file.write(build_boot_log().asBytes());
|
||||
file.write(build_boot_log().asBytes());
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user