diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-06-11 12:03:00 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-11 12:09:58 +0200 |
commit | 527dc095421dc4e0b77e8745682c28a587c186b2 (patch) | |
tree | 72c47f03cb4183bdf44bf6d790c7f2e08e7e4ecc /Userland/Libraries/LibC | |
parent | 33c3c32a38935398af9812de8ec701912017b7b8 (diff) | |
download | serenity-527dc095421dc4e0b77e8745682c28a587c186b2.zip |
Libc: Silence debug spam from `strerror`
Particularly noticeable in ports like openssl, which like to map the
entire error message set from 0 through 128 on startup.
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r-- | Userland/Libraries/LibC/string.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/string.cpp b/Userland/Libraries/LibC/string.cpp index 5adfe173ae..a2542507af 100644 --- a/Userland/Libraries/LibC/string.cpp +++ b/Userland/Libraries/LibC/string.cpp @@ -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]); |