From 81ef0c79d1300eeb262821567150f20ddb777f7a Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 21 May 2007 20:02:40 +0000 Subject: [PATCH] s/si_sigval/si_value/ From Blair Sadewitz. --- regress/lib/libc/siginfo/sigalrm/sigalrm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/lib/libc/siginfo/sigalrm/sigalrm.c b/regress/lib/libc/siginfo/sigalrm/sigalrm.c index 3752865bf59b..b94ef91f9c2b 100644 --- a/regress/lib/libc/siginfo/sigalrm/sigalrm.c +++ b/regress/lib/libc/siginfo/sigalrm/sigalrm.c @@ -1,4 +1,4 @@ -/* $NetBSD: sigalrm.c,v 1.4 2006/05/10 19:07:22 mrg Exp $ */ +/* $NetBSD: sigalrm.c,v 1.5 2007/05/21 20:02:40 christos Exp $ */ #include #include @@ -17,7 +17,7 @@ sigalrm(int signo, siginfo_t *info, void *ptr) printf("si_signo=%d\n", info->si_signo); printf("si_errno=%d\n", info->si_errno); printf("si_code=%d\n", info->si_code); - printf("si_sigval.sival_int=%d\n", info->si_sigval.sival_int); + printf("si_value.sival_int=%d\n", info->si_value.sival_int); } if (ptr != NULL) { ucontext_t *ctx = ptr; @@ -39,7 +39,7 @@ sigalrm(int signo, siginfo_t *info, void *ptr) #endif assert(info->si_signo == SIGALRM); assert(info->si_code == SI_TIMER); - assert(info->si_sigval.sival_int == ITIMER_REAL); + assert(info->si_value.sival_int == ITIMER_REAL); exit(0); }