mirror of
https://github.com/boostorg/exception.git
synced 2025-07-29 12:07:20 +02:00
Improved errno printing in diagnostic information messages.
This commit is contained in:
@ -34,7 +34,7 @@ boost
|
||||
{
|
||||
std::ostringstream tmp;
|
||||
int v=e.value();
|
||||
tmp << v << ", \"" << strerror(v) << "\"";
|
||||
tmp << '[' << error_info_name(e) << "] = " << v << ", \"" << strerror(v) << "\"\n";
|
||||
return tmp.str();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user