mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
perror() should send output to stderr.
This commit is contained in:
parent
8f6998c902
commit
4605b549d6
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
Add a link
Reference in a new issue