git: 25904983e856 - stable/13 - Remove bogus cast from exec_sysvec_init().
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jan 2022 19:08:09 UTC
The branch stable/13 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=25904983e8562480fd045d9ff386df7c15b52938
commit 25904983e8562480fd045d9ff386df7c15b52938
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2021-07-20 06:54:09 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-01-02 16:43:01 +0000
Remove bogus cast from exec_sysvec_init().
(cherry picked from commit b39fa4770dd19ff32b2d70622521135dd384c7c1)
---
sys/kern/kern_sharedpage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/kern_sharedpage.c b/sys/kern/kern_sharedpage.c
index 335f49b7a9f6..e47fbbe62bb7 100644
--- a/sys/kern/kern_sharedpage.c
+++ b/sys/kern/kern_sharedpage.c
@@ -310,7 +310,7 @@ exec_sysvec_init(void *param)
#endif
u_int flags;
- sv = (struct sysentvec *)param;
+ sv = param;
flags = sv->sv_flags;
if ((flags & SV_SHP) == 0)
return;