diff --git a/bootstat/README.md b/bootstat/README.md index b49495101..1b4bf7f74 100644 --- a/bootstat/README.md +++ b/bootstat/README.md @@ -34,8 +34,9 @@ To log the persisted boot events, call `bootstat` with the `-l` option. $ bootstat -l bootstat logs all boot events recorded using the `-r` option to the EventLog -using the Tron histogram. On GMS devices these logs are uploaded via Clearcut -for aggregation and analysis. +using the Tron histogram. These logs may be uploaded by interested parties +for aggregation and analysis of boot time across different devices and +versions. ## Printing boot events ## diff --git a/bootstat/boot_event_record_store_test.cpp b/bootstat/boot_event_record_store_test.cpp index 90874f50a..384f84dc1 100644 --- a/bootstat/boot_event_record_store_test.cpp +++ b/bootstat/boot_event_record_store_test.cpp @@ -65,7 +65,7 @@ void DeleteDirectory(const std::string& path) { const std::string entry_path = path + "/" + entry_name; if (entry->d_type == DT_DIR) { DeleteDirectory(entry_path); - } else { + } else { unlink(entry_path.c_str()); } }