diff options
-rw-r--r-- | Libraries/LibC/stdio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibC/stdio.cpp b/Libraries/LibC/stdio.cpp index c6cbddd4db..3da19ac12f 100644 --- a/Libraries/LibC/stdio.cpp +++ b/Libraries/LibC/stdio.cpp @@ -430,7 +430,7 @@ int snprintf(char* buffer, size_t size, const char* fmt, ...) void perror(const char* s) { int saved_errno = errno; - dbg() << "perror(): " << strerror(saved_errno); + dbg() << "perror(): " << s << ": " << strerror(saved_errno); fprintf(stderr, "%s: %s\n", s, strerror(saved_errno)); } |