summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-10-23 22:30:05 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-10-23 22:30:05 +0000
commitfe01e95defd22028a1e02de3a2288315c00416b3 (patch)
tree53f24b26c8a2d505e2dda93d1c6b34aa30313a2e /regress/lib/libpthread
parentf81bde9c9f37438222283cf5022f7455721708be (diff)
remove 0x in front of %p -- not needed
Diffstat (limited to 'regress/lib/libpthread')
-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
3 files changed, 7 insertions, 7 deletions
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)));