diff options
Diffstat (limited to 'regress/lib/libpthread/siginfo/siginfo.c')
-rw-r--r-- | regress/lib/libpthread/siginfo/siginfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libpthread/siginfo/siginfo.c b/regress/lib/libpthread/siginfo/siginfo.c index f12a666d5c3..36a222c7e6e 100644 --- a/regress/lib/libpthread/siginfo/siginfo.c +++ b/regress/lib/libpthread/siginfo/siginfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: siginfo.c,v 1.6 2002/10/21 18:50:17 marc Exp $ */ +/* $OpenBSD: siginfo.c,v 1.7 2002/10/23 22:30:04 marc Exp $ */ /* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */ /* @@ -23,8 +23,8 @@ act_handler(int signal, siginfo_t *siginfo, void *context) CHECKe(sigaction(SIGSEGV, NULL, &sa)); ASSERT(sa.sa_handler == SIG_DFL); ASSERT(siginfo != NULL); - asprintf(&str, "act_handler: signal %d, siginfo 0x%p, context 0x%p\n" - "addr 0x%p, code %d, trap %d\n", signal, siginfo, context, + asprintf(&str, "act_handler: signal %d, siginfo %p, context %p\n" + "addr %p, code %d, trap %d\n", signal, siginfo, context, siginfo->si_addr, siginfo->si_code, siginfo->si_trapno); write(STDOUT_FILENO, str, strlen(str)); ASSERT(siginfo->si_addr == BOGUS && |