diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2019-11-28 04:34:51 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2019-11-28 04:34:51 +0000 |
commit | 5882a209e19cdfa76702710d3e88afab68710177 (patch) | |
tree | 7b9abf83c6a7c22f3ed86fa02019de5a50fd37b6 /sys/kern/exec_conf.c | |
parent | c21c69945137b611b6b61423546504b07dd5af2e (diff) |
struct execsw's es_emul is no longer used, so delete it
ok deraadt@
Diffstat (limited to 'sys/kern/exec_conf.c')
-rw-r--r-- | sys/kern/exec_conf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c index 20465504c31..43b0ebb9c12 100644 --- a/sys/kern/exec_conf.c +++ b/sys/kern/exec_conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_conf.c,v 1.35 2017/02/08 05:09:25 guenther Exp $ */ +/* $OpenBSD: exec_conf.c,v 1.36 2019/11/28 04:34:50 guenther Exp $ */ /* $NetBSD: exec_conf.c,v 1.16 1995/12/09 05:34:47 cgd Exp $ */ /* @@ -39,8 +39,8 @@ extern struct emul emul_native; struct execsw execsw[] = { - { EXEC_SCRIPT_HDRSZ, exec_script_makecmds, &emul_native, }, /* shell scripts */ - { sizeof(Elf_Ehdr), exec_elf_makecmds, &emul_native }, /* elf binaries */ + { EXEC_SCRIPT_HDRSZ, exec_script_makecmds }, /* shell scripts */ + { sizeof(Elf_Ehdr), exec_elf_makecmds }, /* elf binaries */ }; int nexecs = (sizeof execsw / sizeof(*execsw)); int exec_maxhdrsz; |