diff --git a/sys/compat/linux/linux_signal.c b/sys/compat/linux/linux_signal.c index d47dd4fc09cd..ba4c481e32e9 100644 --- a/sys/compat/linux/linux_signal.c +++ b/sys/compat/linux/linux_signal.c @@ -524,7 +524,7 @@ linux_sigaltstack(p, uap) #ifdef DEBUG printf("Linux-emul(%ld): sigaltstack(%p, %p)\n", - (long)p->p_pid, args->uss, args->uoss); + (long)p->p_pid, uap->uss, uap->uoss); #endif error = copyin(uap->uss, &lss, sizeof(linux_stack_t)); diff --git a/sys/i386/linux/linux_signal.c b/sys/i386/linux/linux_signal.c index d47dd4fc09cd..ba4c481e32e9 100644 --- a/sys/i386/linux/linux_signal.c +++ b/sys/i386/linux/linux_signal.c @@ -524,7 +524,7 @@ linux_sigaltstack(p, uap) #ifdef DEBUG printf("Linux-emul(%ld): sigaltstack(%p, %p)\n", - (long)p->p_pid, args->uss, args->uoss); + (long)p->p_pid, uap->uss, uap->uoss); #endif error = copyin(uap->uss, &lss, sizeof(linux_stack_t));