mirror of https://github.com/Icinga/icinga2.git
parent
1064dc28fc
commit
09ad04b09a
|
@ -829,7 +829,7 @@ String Utility::FormatErrorNumber(int code) {
|
|||
msgbuf << code << ", \"" << result << "\"";
|
||||
return tmp.str();
|
||||
#else
|
||||
msgbuf << gai_strerror(code) << std::endl;
|
||||
msgbuf << strerror(code);
|
||||
#endif
|
||||
return msgbuf.str();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue