Fix description for OsErrorMessage()

PiperOrigin-RevId: 423075550
Change-Id: I14a36e3cb0cf7647d5845a0a834948f0c51f1d58
This commit is contained in:
Christian Blichmann 2022-01-20 08:35:23 -08:00 committed by Copybara-Service
parent ae9432bc03
commit 6fd650b736

View File

@ -22,9 +22,8 @@
namespace sapi {
// Returns a
// `ErrnoToCanonicalCode(error_number)`, and a `message` with the result of
// `StrError(error_number)` appended.
// Returns a formatted message with the result of `StrError(error_number)`
// appended.
template <typename... Arg>
std::string OsErrorMessage(int error_number, const Arg&... args) {
return absl::StrCat(std::forward<const Arg&>(args)..., ": ",