mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linux(4): Fix KASSERT message.
MFC after: 2 weeks
This commit is contained in:
parent
d6ccce0aa2
commit
4e1e83461b
1 changed files with 2 additions and 2 deletions
|
|
@ -176,7 +176,7 @@ linux_proc_init(struct thread *td, struct thread *newtd, bool init_thread)
|
|||
|
||||
/* lookup the old one */
|
||||
em = em_find(td);
|
||||
KASSERT(em != NULL, ("proc_init: emuldata not found in exec case.\n"));
|
||||
KASSERT(em != NULL, ("proc_init: thread emuldata not found.\n"));
|
||||
|
||||
em->em_tid = p->p_pid;
|
||||
em->flags = 0;
|
||||
|
|
@ -185,7 +185,7 @@ linux_proc_init(struct thread *td, struct thread *newtd, bool init_thread)
|
|||
em->child_set_tid = NULL;
|
||||
|
||||
pem = pem_find(p);
|
||||
KASSERT(pem != NULL, ("proc_exit: proc emuldata not found.\n"));
|
||||
KASSERT(pem != NULL, ("proc_init: proc emuldata not found.\n"));
|
||||
pem->persona = 0;
|
||||
pem->oom_score_adj = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue