summaryrefslogtreecommitdiffstats
path: root/regress/lib/libpthread/pthread_kill/pthread_kill.c
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2002-10-23 22:30:04 +0000
committermarc <marc@openbsd.org>2002-10-23 22:30:04 +0000
commitf9fcec45bd5df564a4760a389796d24fcf7c837e (patch)
tree1ae51ed946a2ed0688f6d4bf2415de367f4c9b0a /regress/lib/libpthread/pthread_kill/pthread_kill.c
parentReplace tmpnam() with mkstemp() to avoid possible /tmp race. (diff)
downloadwireguard-openbsd-f9fcec45bd5df564a4760a389796d24fcf7c837e.tar.xz
wireguard-openbsd-f9fcec45bd5df564a4760a389796d24fcf7c837e.zip
remove 0x in front of %p -- not needed
Diffstat (limited to 'regress/lib/libpthread/pthread_kill/pthread_kill.c')
-rw-r--r--regress/lib/libpthread/pthread_kill/pthread_kill.c4
1 files changed, 2 insertions, 2 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));
}