diff --git a/src/core/lib/iomgr/error.cc b/src/core/lib/iomgr/error.cc index 3a8e8b5961f..b57f9ed2d32 100644 --- a/src/core/lib/iomgr/error.cc +++ b/src/core/lib/iomgr/error.cc @@ -71,7 +71,7 @@ std::string grpc_error_std_string(absl::Status error) { absl::Status grpc_os_error(const grpc_core::DebugLocation& location, int err, const char* call_name) { absl::Status s = - StatusCreate(absl::StatusCode::kUnknown, "OS Error", location, {}); + StatusCreate(absl::StatusCode::kUnknown, strerror(err), location, {}); grpc_core::StatusSetInt(&s, grpc_core::StatusIntProperty::kErrorNo, err); grpc_core::StatusSetStr(&s, grpc_core::StatusStrProperty::kOsError, strerror(err));