git: d7814015125e - main - kern_thread.c: Fix i386 build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Jun 2022 02:36:11 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=d7814015125ea2e223f99aa6e50918beda3a62de
commit d7814015125ea2e223f99aa6e50918beda3a62de
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-06-14 02:31:01 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-06-14 02:35:33 +0000
kern_thread.c: Fix i386 build
Chase 4493a13e3bfbbdf8488993843281ec688057ee0f by updating static
assertions of struct proc.
---
sys/kern/kern_thread.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index b00cd2b3c695..5ec7e828324f 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -119,9 +119,9 @@ _Static_assert(offsetof(struct proc, p_pid) == 0x78,
"struct proc KBI p_pid");
_Static_assert(offsetof(struct proc, p_filemon) == 0x270,
"struct proc KBI p_filemon");
-_Static_assert(offsetof(struct proc, p_comm) == 0x284,
+_Static_assert(offsetof(struct proc, p_comm) == 0x288,
"struct proc KBI p_comm");
-_Static_assert(offsetof(struct proc, p_emuldata) == 0x310,
+_Static_assert(offsetof(struct proc, p_emuldata) == 0x314,
"struct proc KBI p_emuldata");
#endif