diff options
author | Roland McGrath <roland@gnu.org> | 2001-08-06 22:51:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-08-06 22:51:17 +0000 |
commit | fd4bb88b241a1b8563911c56977a798181fce837 (patch) | |
tree | 550dbd676238fe28161119c07b4cbaacdfe923b8 /proc | |
parent | 2594b18235a995260be7bf5553c3e09f5d0de39b (diff) |
2001-08-06 Roland McGrath <roland@frob.com>
* mgt.c (allocate_proc): Don't zero P->p_pi.
Reported by Neal H Walfield <neal@cs.uml.edu>.
Diffstat (limited to 'proc')
-rw-r--r-- | proc/mgt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -555,7 +555,7 @@ allocate_proc (task_t task) if (err) return NULL; - memset (p, 0, sizeof *p); + memset (&p->p_pi + 1, 0, sizeof *p - sizeof p->p_pi); p->p_task = task; p->p_msgport = MACH_PORT_NULL; |