mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
perror() should send output to stderr.
This commit is contained in:
parent
8f6998c902
commit
4605b549d6
Notes:
sideshowbarker
2024-07-19 18:35:36 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4605b549d64
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ int sprintf(char* buffer, const char* fmt, ...)
|
|||
|
||||
void perror(const char* s)
|
||||
{
|
||||
printf("%s: %s\n", s, strerror(errno));
|
||||
fprintf(stderr, "%s: %s\n", s, strerror(errno));
|
||||
}
|
||||
|
||||
FILE* fopen(const char* pathname, const char* mode)
|
||||
|
|
Loading…
Add table
Reference in a new issue