blob: b97fe4aefc12824a7eacc6c918e2694d5a2e1c9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- sys_curses/system.c.orig Tue Jun 4 21:54:07 2002
+++ sys_curses/system.c Tue Jun 4 21:54:27 2002
@@ -588,10 +588,10 @@
static void
child_died(code)
{
- union wait status;
+ int status;
register int pid;
- while ((pid = wait3((int *)&status, WNOHANG, (struct rusage *)0)) > 0) {
+ while ((pid = wait3(&status, WNOHANG, (struct rusage *)0)) > 0) {
if (pid == shell_pid) {
int ch;
extern void setconnmode();
|