diff options
Diffstat (limited to 'LibC/stdio.cpp')
-rw-r--r-- | LibC/stdio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/stdio.cpp b/LibC/stdio.cpp index 84ecd38190..33175a8e60 100644 --- a/LibC/stdio.cpp +++ b/LibC/stdio.cpp @@ -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) |