util/eventlog: Correct the capitalization for diagnostics types

Correct the capitalization of ELOG_CROS_DIAG_TYPE_STORAGE_HEALTH from
"Storage Health Info" to "Storage health info", which is already widely
used in depthcharge diagnostics tools.

BUG=b:254405481
TEST=none

Change-Id: Ia6c1df9e8d2ee6f8ae11b962e76b52f3c6663c42
Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69025
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Hsuan Ting Chen 2022-10-31 17:41:32 +08:00 committed by Felix Held
parent 22683fabf0
commit 5faaca09b8
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ static int eventlog_print_data(const struct event_header *event)
static const struct valstr cros_diagnostics_diag_types[] = { static const struct valstr cros_diagnostics_diag_types[] = {
{ELOG_CROS_DIAG_TYPE_NONE, "None"}, {ELOG_CROS_DIAG_TYPE_NONE, "None"},
{ELOG_CROS_DIAG_TYPE_STORAGE_HEALTH, "Storage Health Info"}, {ELOG_CROS_DIAG_TYPE_STORAGE_HEALTH, "Storage health info"},
{ELOG_CROS_DIAG_TYPE_STORAGE_TEST_SHORT, "Storage self-test (short)"}, {ELOG_CROS_DIAG_TYPE_STORAGE_TEST_SHORT, "Storage self-test (short)"},
{ELOG_CROS_DIAG_TYPE_STORAGE_TEST_EXTENDED, "Storage self-test (extended)"}, {ELOG_CROS_DIAG_TYPE_STORAGE_TEST_EXTENDED, "Storage self-test (extended)"},
{ELOG_CROS_DIAG_TYPE_MEMORY_QUICK, "Memory check (quick)"}, {ELOG_CROS_DIAG_TYPE_MEMORY_QUICK, "Memory check (quick)"},