Save a copy of p_mtxname in e_mtxname when creating an eproc.

This commit is contained in:
John Baldwin 2000-11-29 20:14:50 +00:00
parent c345dd3371
commit 62ca2477d8

View File

@ -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 *