Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2021 07:10:24 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b39fa4770dd1 - main - Remove bogus cast from exec_sysvec_init().
Message-ID:  <202107200710.16K7AONP030229@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=b39fa4770dd19ff32b2d70622521135dd384c7c1

commit b39fa4770dd19ff32b2d70622521135dd384c7c1
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2021-07-20 06:54:09 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2021-07-20 06:54:09 +0000

    Remove bogus cast from exec_sysvec_init().
    
    Reviewed by:            kib
    Differential Revision:  https://reviews.freebsd.org/D30910
    MFC after:              2 weeks
---
 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107200710.16K7AONP030229>