12 lines
265 B
Diff
12 lines
265 B
Diff
|
--- utils/debug.c.orig
|
||
|
+++ utils/debug.c
|
||
|
@@ -120,7 +120,7 @@
|
||
|
vfprintf(logfp, fmt, ap);
|
||
|
va_end(ap);
|
||
|
|
||
|
- fprintf(logfp, ": %s\n", strerror_r(saved_errno, buf, sizeof(buf)));
|
||
|
+ fprintf(logfp, ": %s\n", strerror(saved_errno));
|
||
|
|
||
|
color(TERM_COLOR_RESET, logfp);
|
||
|
|