mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-10-26 14:57:54 +03:00
LibC: Remove duplicate log statement
Now that warnln() also outputs to the debug console, this would print the error twice.
This commit is contained in:
parent
e0b7717a6a
commit
58c91f0a99
Notes:
sideshowbarker
2024-07-17 07:38:17 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/58c91f0a99 Pull-request: https://github.com/SerenityOS/serenity/pull/19997 Reviewed-by: https://github.com/gmta ✅
@ -1009,7 +1009,6 @@ 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