Image activators use EXEC_SET(), not TEXT_SET(). (The first is a macro

wrapper for DECLARE_MODULE(), the second is a linker set declaration)
This commit is contained in:
Peter Wemm 1999-04-17 07:55:15 +00:00
parent f4cdc766cc
commit 6637b74945
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45738
2 changed files with 2 additions and 2 deletions

View File

@ -233,5 +233,5 @@ exec_svr4_imgact(imgp)
* correct directive to use. Do not staticize; used by Linux LKM.
*/
const struct execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" };
TEXT_SET(execsw_set, svr4_execsw);
EXEC_SET(execsw_set, svr4_execsw);

View File

@ -233,5 +233,5 @@ exec_svr4_imgact(imgp)
* correct directive to use. Do not staticize; used by Linux LKM.
*/
const struct execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" };
TEXT_SET(execsw_set, svr4_execsw);
EXEC_SET(execsw_set, svr4_execsw);