summaryrefslogtreecommitdiff
path: root/patches/strace/4.5.15/300-mips-sprintsigmask-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/strace/4.5.15/300-mips-sprintsigmask-fix.patch')
-rw-r--r--patches/strace/4.5.15/300-mips-sprintsigmask-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/strace/4.5.15/300-mips-sprintsigmask-fix.patch b/patches/strace/4.5.15/300-mips-sprintsigmask-fix.patch
new file mode 100644
index 0000000..e2aaa40
--- /dev/null
+++ b/patches/strace/4.5.15/300-mips-sprintsigmask-fix.patch
@@ -0,0 +1,12 @@
+diff -dur strace-4.5.15.orig/signal.c strace-4.5.15/signal.c
+--- strace-4.5.15.orig/signal.c 2007-01-11 23:08:38.000000000 +0100
++++ strace-4.5.15/signal.c 2007-07-14 19:24:43.000000000 +0200
+@@ -1440,7 +1440,7 @@
+ tcp->u_rval = tcp->u_error = 0;
+ if(tcp->u_arg[0] == 0)
+ return 0;
+- tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1]);
++ tcp->auxstr = sprintsigmask("mask now ", tcp->u_arg[1], 0);
+ return RVAL_NONE | RVAL_STR;
+ }
+ return 0;