logcat: add 'device shut down' to error message upon EOF

Turns out this is the actual most likely cause of EOF.

Test: n/a
Change-Id: I00b89fea9e7069493e7143be443c520ea3cb3c89
This commit is contained in:
Tom Cherry 2020-02-14 10:01:57 -08:00
parent fd8b4ea996
commit 26d712eef1

View file

@ -1129,7 +1129,7 @@ int Logcat::Run(int argc, char** argv) {
if (!ret) {
error(EXIT_FAILURE, 0, R"init(Unexpected EOF!
This means that either logd crashed, or more likely, this instance of logcat was unable to read log
This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log
messages as quickly as they were being produced.
If you have enabled significant logging, look into using the -G option to increase log buffer sizes.)init");