Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c22b4fe authored by Yabin Cui's avatar Yabin Cui
Browse files

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
parent d6289bdf
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -59,7 +59,6 @@ static ProcessState parse_state(const char* state) {
    case 'Z':
      return kProcessStateZombie;
    default:
      LOG(ERROR) << "unknown process state: " << *state;
      return kProcessStateUnknown;
  }
}