summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-04-19 08:23:17 (GMT)
committerChris Packham <judge.packham@gmail.com>2021-04-19 08:23:17 (GMT)
commitfe148013f0af2c0899a57cd52f6a43d6ded225d6 (patch)
tree9d9e505a6e3331d8962206a48205cd7aaf3b5c89
parenta87b62ee115a10a6982d97f3c5a92dda2d6454e1 (diff)
parentd95d0497db9a26da864a38f5b2ddea02d241b366 (diff)
Merge branch 'ltrace-fix' of https://github.com/cpackham/crosstool-ng
-rw-r--r--packages/ltrace/0.7.3/0008-mips-printf-format.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/ltrace/0.7.3/0008-mips-printf-format.patch b/packages/ltrace/0.7.3/0008-mips-printf-format.patch
new file mode 100644
index 0000000..6875392
--- /dev/null
+++ b/packages/ltrace/0.7.3/0008-mips-printf-format.patch
@@ -0,0 +1,14 @@
+diff -Naur ltrace-0.7.3-orig/sysdeps/linux-gnu/mips/plt.c ltrace-0.7.3/sysdeps/linux-gnu/mips/plt.c
+--- ltrace-0.7.3-orig/sysdeps/linux-gnu/mips/plt.c 2013-09-17 11:04:28.000000000 +1200
++++ ltrace-0.7.3/sysdeps/linux-gnu/mips/plt.c 2021-04-14 22:05:45.950413823 +1200
+@@ -356,8 +356,8 @@
+
+ name = strdup(a_name);
+ if (name == NULL) {
+- fprintf(stderr, "%s: failed %s(%#llx): %s\n", __func__,
+- name, addr, strerror(errno));
++ fprintf(stderr, "%s: failed (%#llx): %s\n", __func__,
++ addr, strerror(errno));
+ goto fail;
+ }
+