summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libc_r/pthread_kill/pthread_kill.c4
-rw-r--r--regress/lib/libc_r/siginfo/siginfo.c6
-rw-r--r--regress/lib/libc_r/signodefer/signodefer.c4
-rw-r--r--regress/lib/libpthread/pthread_kill/pthread_kill.c4
-rw-r--r--regress/lib/libpthread/siginfo/siginfo.c6
-rw-r--r--regress/lib/libpthread/signodefer/signodefer.c4
6 files changed, 14 insertions, 14 deletions
diff --git a/regress/lib/libc_r/pthread_kill/pthread_kill.c b/regress/lib/libc_r/pthread_kill/pthread_kill.c
index 697d00767b0..b0457a2dfb1 100644
--- a/regress/lib/libc_r/pthread_kill/pthread_kill.c
+++ b/regress/lib/libc_r/pthread_kill/pthread_kill.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread_kill.c,v 1.1 2002/10/21 18:44:11 marc Exp $ */
+/* $OpenBSD: pthread_kill.c,v 1.2 2002/10/23 22:30:04 marc Exp $ */
/* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */
/*
@@ -22,7 +22,7 @@ act_handler(int signal, siginfo_t *siginfo, void *context)
CHECKe(sigaction(SIGUSR1, NULL, &sa));
ASSERT(sa.sa_handler == SIG_DFL);
ASSERT(siginfo != NULL);
- asprintf(&str, "act_handler: signal %d, siginfo 0x%p, context 0x%p\n",
+ asprintf(&str, "act_handler: signal %d, siginfo %p, context %p\n",
signal, siginfo, context);
write(STDOUT_FILENO, str, strlen(str));
}
diff --git a/regress/lib/libc_r/siginfo/siginfo.c b/regress/lib/libc_r/siginfo/siginfo.c
index f12a666d5c3..36a222c7e6e 100644
--- a/regress/lib/libc_r/siginfo/siginfo.c
+++ b/regress/lib/libc_r/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 &&
diff --git a/regress/lib/libc_r/signodefer/signodefer.c b/regress/lib/libc_r/signodefer/signodefer.c
index dbc0561cac8..211cc648ce0 100644
--- a/regress/lib/libc_r/signodefer/signodefer.c
+++ b/regress/lib/libc_r/signodefer/signodefer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signodefer.c,v 1.1 2002/10/21 18:46:35 marc Exp $ */
+/* $OpenBSD: signodefer.c,v 1.2 2002/10/23 22:30:04 marc Exp $ */
/* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */
/*
@@ -28,7 +28,7 @@ act_handler(int signal, siginfo_t *siginfo, void *context)
ASSERT(siginfo != NULL);
asprintf(&str,
- "%sact_handler/%d, signal %d, siginfo 0x%p, context 0x%p\n",
+ "%sact_handler/%d, signal %d, siginfo %p, context %p\n",
was_active ? "[recurse] " : "",
sigcount, signal, siginfo, context);
CHECKe(write(STDOUT_FILENO, str, strlen(str)));
diff --git a/regress/lib/libpthread/pthread_kill/pthread_kill.c b/regress/lib/libpthread/pthread_kill/pthread_kill.c
index 697d00767b0..b0457a2dfb1 100644
--- a/regress/lib/libpthread/pthread_kill/pthread_kill.c
+++ b/regress/lib/libpthread/pthread_kill/pthread_kill.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread_kill.c,v 1.1 2002/10/21 18:44:11 marc Exp $ */
+/* $OpenBSD: pthread_kill.c,v 1.2 2002/10/23 22:30:04 marc Exp $ */
/* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */
/*
@@ -22,7 +22,7 @@ act_handler(int signal, siginfo_t *siginfo, void *context)
CHECKe(sigaction(SIGUSR1, NULL, &sa));
ASSERT(sa.sa_handler == SIG_DFL);
ASSERT(siginfo != NULL);
- asprintf(&str, "act_handler: signal %d, siginfo 0x%p, context 0x%p\n",
+ asprintf(&str, "act_handler: signal %d, siginfo %p, context %p\n",
signal, siginfo, context);
write(STDOUT_FILENO, str, strlen(str));
}
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 &&
diff --git a/regress/lib/libpthread/signodefer/signodefer.c b/regress/lib/libpthread/signodefer/signodefer.c
index dbc0561cac8..211cc648ce0 100644
--- a/regress/lib/libpthread/signodefer/signodefer.c
+++ b/regress/lib/libpthread/signodefer/signodefer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signodefer.c,v 1.1 2002/10/21 18:46:35 marc Exp $ */
+/* $OpenBSD: signodefer.c,v 1.2 2002/10/23 22:30:04 marc Exp $ */
/* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */
/*
@@ -28,7 +28,7 @@ act_handler(int signal, siginfo_t *siginfo, void *context)
ASSERT(siginfo != NULL);
asprintf(&str,
- "%sact_handler/%d, signal %d, siginfo 0x%p, context 0x%p\n",
+ "%sact_handler/%d, signal %d, siginfo %p, context %p\n",
was_active ? "[recurse] " : "",
sigcount, signal, siginfo, context);
CHECKe(write(STDOUT_FILENO, str, strlen(str)));