mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Save a copy of p_mtxname in e_mtxname when creating an eproc.
This commit is contained in:
parent
c345dd3371
commit
62ca2477d8
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Reference in a new issue