void-packages/srcpkgs/uftrace/patches/strerror.patch

12 lines
265 B
Diff
Raw Normal View History

2017-11-09 13:36:58 +00:00
--- 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);