From 1c22b4fedf70e2aab66799c076ac3bff205b777b Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Fri, 17 Jan 2020 15:55:13 -0800 Subject: [PATCH] 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 --- libprocinfo/process.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libprocinfo/process.cpp b/libprocinfo/process.cpp index 9194cf3d0..2efd49c37 100644 --- a/libprocinfo/process.cpp +++ b/libprocinfo/process.cpp @@ -59,7 +59,6 @@ static ProcessState parse_state(const char* state) { case 'Z': return kProcessStateZombie; default: - LOG(ERROR) << "unknown process state: " << *state; return kProcessStateUnknown; } }