Save a copy of p_mtxname in e_mtxname when creating an eproc.
This commit is contained in:
parent
c345dd3371
commit
62ca2477d8
@ -406,6 +406,10 @@ fill_eproc(p, ep)
|
||||
strncpy(ep->e_wmesg, p->p_wmesg, WMESGLEN);
|
||||
ep->e_wmesg[WMESGLEN] = 0;
|
||||
}
|
||||
if (p->p_mtxname) {
|
||||
strncpy(ep->e_mtxname, p->p_mtxname, MTXNAMELEN);
|
||||
ep->e_mtxname[MTXNAMELEN] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
static struct proc *
|
||||
|
Loading…
x
Reference in New Issue
Block a user