git: c4ca1d2a2742 - stable/13 - linux(4): Fix KASSERT message.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jun 2022 19:38:56 UTC
The branch stable/13 has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=c4ca1d2a27425050b4fce747bad04852c1bcb398
commit c4ca1d2a27425050b4fce747bad04852c1bcb398
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-03-31 18:22:31 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-17 19:33:48 +0000
linux(4): Fix KASSERT message.
MFC after: 2 weeks
(cherry picked from commit 4e1e83461bdc9b8c3ab96dc82e7342d4ea1e69b9)
---
sys/compat/linux/linux_emul.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c
index 12e078546ac6..1e8da643bb9a 100644
--- a/sys/compat/linux/linux_emul.c
+++ b/sys/compat/linux/linux_emul.c
@@ -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;
}