mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
Revert "LibC: Remove duplicate log statement"
This reverts commit 58c91f0a99
.
This commit is contained in:
parent
e62cb539fd
commit
05fbd31727
Notes:
sideshowbarker
2024-07-18 05:37:06 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/05fbd31727 Pull-request: https://github.com/SerenityOS/serenity/pull/20143 Reviewed-by: https://github.com/AtkinsSJ ✅
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user