libprocinfo: remove error msg for unknown process state.
Unknown process states are expected since libprocinfo doesn't list all process states in https://github.com/torvalds/linux/blob/master/fs/proc/array.c#L130. So remove error message for unknown state. Bug: none Test: run libprocinfo_test. Change-Id: I321893855235367e037afd58ccb63d5140619095
This commit is contained in:
parent
d6289bdf13
commit
1c22b4fedf
1 changed files with 0 additions and 1 deletions
|
@ -59,7 +59,6 @@ static ProcessState parse_state(const char* state) {
|
|||
case 'Z':
|
||||
return kProcessStateZombie;
|
||||
default:
|
||||
LOG(ERROR) << "unknown process state: " << *state;
|
||||
return kProcessStateUnknown;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue