* signal.c (sys_sigaction): Fix display of sigaction with
SIG_DFL/SIG_IGN handlers.
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
}
#endif /* !USE_PROCFS */
tprintf("{%#lx, ", (long) sa.SA_HANDLER);
}
#endif /* !USE_PROCFS */
tprintf("{%#lx, ", (long) sa.SA_HANDLER);
- printsigmask(&sa.sa_mask, 0);
+ printsigmask(&sa.sa_mask, 0);
- long_to_sigset(sa.sa_mask, &sigset);
- printsigmask(&sigset, 0);
+ long_to_sigset(sa.sa_mask, &sigset);
+ printsigmask(&sigset, 0);
- tprints(", ");
- printflags(sigact_flags, sa.sa_flags, "SA_???");
+ tprints(", ");
+ printflags(sigact_flags, sa.sa_flags, "SA_???");
- if (sa.sa_flags & SA_RESTORER)
- tprintf(", %p", sa.sa_restorer);
+ if (sa.sa_flags & SA_RESTORER)
+ tprintf(", %p", sa.sa_restorer);
}
if (entering(tcp))
tprints(", ");
}
if (entering(tcp))
tprints(", ");