summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/compat/svr4/imgact_svr4.c2
-rw-r--r--sys/svr4/imgact_svr4.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/imgact_svr4.c b/sys/compat/svr4/imgact_svr4.c
index 5c2dc0d..f8500de 100644
--- a/sys/compat/svr4/imgact_svr4.c
+++ b/sys/compat/svr4/imgact_svr4.c
@@ -230,6 +230,6 @@ exec_svr4_imgact(imgp)
/*
* Tell kern_execve.c about it, with a little help from the linker.
*/
-const execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" };
+struct execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" };
EXEC_SET(execsw_set, svr4_execsw);
diff --git a/sys/svr4/imgact_svr4.c b/sys/svr4/imgact_svr4.c
index 5c2dc0d..f8500de 100644
--- a/sys/svr4/imgact_svr4.c
+++ b/sys/svr4/imgact_svr4.c
@@ -230,6 +230,6 @@ exec_svr4_imgact(imgp)
/*
* Tell kern_execve.c about it, with a little help from the linker.
*/
-const execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" };
+struct execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" };
EXEC_SET(execsw_set, svr4_execsw);
OpenPOWER on IntegriCloud