patch-2.3.1 linux/kernel/exit.c
Next file: linux/kernel/fork.c
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue May 11 14:37:40 1999
- Orig file:
v2.3.0/linux/kernel/exit.c
- Orig date:
Fri Apr 30 08:13:37 1999
diff -u --recursive --new-file v2.3.0/linux/kernel/exit.c linux/kernel/exit.c
@@ -406,7 +406,7 @@
asmlinkage int sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru)
{
int flag, retval;
- struct wait_queue wait = { current, NULL };
+ DECLARE_WAITQUEUE(wait, current);
struct task_struct *p;
if (options & ~(WNOHANG|WUNTRACED|__WCLONE))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)