diff --git a/libwvdrmengine/src/wv_metrics.cpp b/libwvdrmengine/src/wv_metrics.cpp index 8bbf240d..8cacddaa 100644 --- a/libwvdrmengine/src/wv_metrics.cpp +++ b/libwvdrmengine/src/wv_metrics.cpp @@ -162,7 +162,8 @@ string FormatAttributes(const string& indent, const Attributes& attributes) { result.append("error_code:\n"); string next_indent = indent + kIndentSpaces; result.append(next_indent + "name: "); - result.append(DrmHalStatusToString(static_cast(attributes.error_code()))); + result.append(CdmResponseTypeToString(static_cast( + attributes.error_code()))); result.append("\n" + next_indent + "value: "); result.append(to_string(attributes.error_code())); }