Particularly noticeable in ports like openssl, which like to map the entire error message set from 0 through 128 on startup.
@@ -377,7 +377,6 @@ int strerror_r(int errnum, char* buf, size_t buflen)
char* strerror(int errnum)
{
if (errnum < 0 || errnum >= EMAXERRNO) {
- dbgln("strerror() missing string for errnum={}", errnum);
return const_cast<char*>("Unknown error");
}
return const_cast<char*>(sys_errlist[errnum]);