mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix description for OsErrorMessage()
PiperOrigin-RevId: 423075550 Change-Id: I14a36e3cb0cf7647d5845a0a834948f0c51f1d58
This commit is contained in:
parent
ae9432bc03
commit
6fd650b736
|
@ -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)..., ": ",
|
||||
|
|
Loading…
Reference in New Issue
Block a user