summaryrefslogtreecommitdiff
path: root/regress/lib/libc_r/siginfo/siginfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libc_r/siginfo/siginfo.c')
-rw-r--r--regress/lib/libc_r/siginfo/siginfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libc_r/siginfo/siginfo.c b/regress/lib/libc_r/siginfo/siginfo.c
index 605dac9a33e..ce3f1f94c51 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.2 2002/10/07 22:17:07 marc Exp $ */
+/* $OpenBSD: siginfo.c,v 1.3 2002/10/07 22:49:42 marc Exp $ */
/* PUBLIC DOMAIN Oct 2002 <marc@snafu.org> */
/* test SA_SIGINFO support */
@@ -12,7 +12,7 @@
void
act_handler(int signal, siginfo_t *siginfo, void *context)
{
- ASSERT(siginfo);
+ ASSERT(siginfo != NULL);
ASSERT(siginfo->si_addr == (char *) 0x987234 &&
siginfo->si_code == 1 && siginfo->si_trapno == 2);
}