report the right process status

This commit is contained in:
manu 2005-06-22 21:57:30 +00:00
parent 6e7c7658ef
commit c8b33aa328
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: linux_machdep.c,v 1.107 2005/05/20 12:48:27 fvdl Exp $ */
/* $NetBSD: linux_machdep.c,v 1.108 2005/06/22 21:57:30 manu Exp $ */
/*-
* Copyright (c) 1995, 2000 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.107 2005/05/20 12:48:27 fvdl Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.108 2005/06/22 21:57:30 manu Exp $");
#if defined(_KERNEL_OPT)
#include "opt_vm86.h"
@ -320,7 +320,8 @@ linux_rt_sendsig(const ksiginfo_t *ksi, const sigset_t *mask)
case LINUX_SIGCHLD:
lsi->lsi_uid = ksi->ksi_uid;
lsi->lsi_pid = ksi->ksi_pid;
lsi->lsi_status = ksi->ksi_status;
lsi->lsi_status =
((ksi->ksi_status & 0xff00U) >> 8);
lsi->lsi_utime = ksi->ksi_utime;
lsi->lsi_stime = ksi->ksi_stime;
break;