mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue