bootlog: rename bz_file to file (#25881)

pull/25883/head
Dean Lee 3 years ago committed by GitHub
parent 2f878830c8
commit f4a4ec8fa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      selfdrive/loggerd/bootlog.cc

@ -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;
}

Loading…
Cancel
Save