summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-05-22 07:38:31 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-05-22 07:38:31 +0000
commita6b26ed9660e431f0a82248e9d49d0ab3065c45b (patch)
tree0e5a33462bbc45f3f26cb233063d264aa00fd3ec /sys
parent72b7efc8f8242ce3f57c90ce3574c07834159581 (diff)
Moved contents of elf_abi.h into sys/exec_elf.h. Adjusted dependant
files to reflect new header.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/exec_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c
index 4bb8a72d249..14d0db019f3 100644
--- a/sys/kern/exec_conf.c
+++ b/sys/kern/exec_conf.c
@@ -102,7 +102,7 @@ struct execsw execsw[] = {
{ ECOFF_HDR_SIZE, exec_ecoff_makecmds, }, /* ecoff binaries */
#endif
#ifdef EXEC_ELF
- { ELF_HDR_SIZE, exec_elf_makecmds, }, /* elf binaries */
+ { sizeof(Elf32_Ehdr), exec_elf_makecmds, }, /* elf binaries */
#endif
#ifdef COMPAT_LINUX
{ LINUX_AOUT_HDR_SIZE, exec_linux_aout_makecmds, }, /* linux a.out */