From 86d645082f54ac5762fd20683f2e8c3477ec3d50 Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 13 Sep 2003 17:19:55 +0000 Subject: [PATCH] fix syntax; thanks aymeric --- lib/libpthread/pthread_sig.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libpthread/pthread_sig.c b/lib/libpthread/pthread_sig.c index e3ff60e3bfb3..b7b7190382c6 100644 --- a/lib/libpthread/pthread_sig.c +++ b/lib/libpthread/pthread_sig.c @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_sig.c,v 1.21 2003/09/13 15:26:38 christos Exp $ */ +/* $NetBSD: pthread_sig.c,v 1.22 2003/09/13 17:19:55 christos Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__RCSID("$NetBSD: pthread_sig.c,v 1.21 2003/09/13 15:26:38 christos Exp $"); +__RCSID("$NetBSD: pthread_sig.c,v 1.22 2003/09/13 17:19:55 christos Exp $"); /* We're interposing a specific version of the signal interface. */ #define __LIBC12_SOURCE__ @@ -919,8 +919,8 @@ pthread__signal_tramp(void (*handler)(int, siginfo_t *, void *), */ sigset_t *maskp = uc->uc_stack.ss_sp; PTHREAD_UCONTEXT_TO_SIGCONTEXT(maskp, uc, &psc); - (*((void *)(*)(int, int, struct sigcontext *)handler)) - (si->si_signo, si->si_trap, &psc.psc_context); + ((void *(*)(int, int, struct sigcontext *))handler) + (info->si_signo, info->si_trap, &psc.psc_context); PTHREAD_SIGCONTEXT_TO_UCONTEXT(&psc, uc); } #endif