]> granicus.if.org Git - strace/commitdiff
printcontext should pass sigmask addr to printsigmask
authorJohn Hughes <john@Calva.COM>
Tue, 15 May 2001 15:09:14 +0000 (15:09 +0000)
committerJohn Hughes <john@Calva.COM>
Tue, 15 May 2001 15:09:14 +0000 (15:09 +0000)
ChangeLog
signal.c

index 86c65dacc88000caa13d2a2a3ee97b60fd622447..e775e488a0ad59fecb18bb24716f1b7ebeda520c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-15  John Hughes <john@Calva.COM>
+
+  * signal.c: pass a pointer to sigmask to printsigmask from printcontext,
+    it was just passing the sigmask (ucp->uc_sigmask).
+
 2001-05-15  John Hughes <john@Calva.COM>
 
   * util.c: Don't run off the end of valid memory in umovestr when
index 4a676a19d1471bd83208139537e27925dd6bbce1..4ab56bba6b39a17bffa91237327920b35b5db8fd 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -1078,7 +1078,7 @@ ucontext_t *ucp;
                tprintf(", uc_link=%#lx, ", (unsigned long) ucp->uc_link);
        }
        tprintf("uc_sigmask=");
-       printsigmask(ucp->uc_sigmask, 0);
+       printsigmask(&ucp->uc_sigmask, 0);
        if (!abbrev(tcp)) {
                tprintf(", uc_stack={ss_sp=%#lx, ss_size=%d, ss_flags=",
                        (unsigned long) ucp->uc_stack.ss_sp,