Improved errno printing in diagnostic information messages.

This commit is contained in:
Emil Dotchevski committed 2016-07-12 19:21:53 -07:00
1 parent c1dc3b8dcb
commit c1e2284628
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}
}