From 6fd650b7360ea4c94e21704efc8261c62f077cb4 Mon Sep 17 00:00:00 2001 From: Christian Blichmann Date: Thu, 20 Jan 2022 08:35:23 -0800 Subject: [PATCH] Fix description for `OsErrorMessage()` PiperOrigin-RevId: 423075550 Change-Id: I14a36e3cb0cf7647d5845a0a834948f0c51f1d58 --- sandboxed_api/util/os_error.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sandboxed_api/util/os_error.h b/sandboxed_api/util/os_error.h index b9fd4e8..f035ecd 100644 --- a/sandboxed_api/util/os_error.h +++ b/sandboxed_api/util/os_error.h @@ -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 std::string OsErrorMessage(int error_number, const Arg&... args) { return absl::StrCat(std::forward(args)..., ": ",