]> granicus.if.org Git - strace/commitdiff
2007-07-05 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Thu, 5 Jul 2007 20:16:42 +0000 (20:16 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 5 Jul 2007 20:16:42 +0000 (20:16 +0000)
* signal.c (sys_sigreturn) [MIPS]: Pass 3rd arg to sprintsigmask.
From Zhang Le <zhilg@users.sourceforge.net>.

signal.c

index 5950831d918e20cb21474b227ca602694d0a6240..9a80bb9224f41f677ef48ddba53f90ea8500f375 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -1444,7 +1444,7 @@ struct tcb *tcp;
                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;