1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 06:34:57 +00:00

Revert "LibC: Remove duplicate log statement"

This reverts commit 58c91f0a99.
This commit is contained in:
Timothy Flynn 2023-07-22 09:00:22 -04:00 committed by Tim Flynn
parent e62cb539fd
commit 05fbd31727

View file

@ -1009,6 +1009,7 @@ int snprintf(char* buffer, size_t size, char const* fmt, ...)
void perror(char const* s)
{
int saved_errno = errno;
dbgln("perror(): {}: {}", s, strerror(saved_errno));
warnln("{}: {}", s, strerror(saved_errno));
}