forked from boostorg/exception
Improved errno printing in diagnostic information messages.
This commit is contained in:
@ -34,7 +34,7 @@ boost
|
|||||||
{
|
{
|
||||||
std::ostringstream tmp;
|
std::ostringstream tmp;
|
||||||
int v=e.value();
|
int v=e.value();
|
||||||
tmp << v << ", \"" << strerror(v) << "\"";
|
tmp << '[' << error_info_name(e) << "] = " << v << ", \"" << strerror(v) << "\"\n";
|
||||||
return tmp.str();
|
return tmp.str();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user