summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-06-08 09:19:35 +0000
committerdfr <dfr@FreeBSD.org>1998-06-08 09:19:35 +0000
commit707faaecf682b61d358756e0380763b66a3d4af3 (patch)
tree8847757e471c2c8d9fc32c1538f7960475e72624
parentfe1d05742fce070a3e0baebc27a50b73933c2223 (diff)
downloadFreeBSD-src-707faaecf682b61d358756e0380763b66a3d4af3.zip
FreeBSD-src-707faaecf682b61d358756e0380763b66a3d4af3.tar.gz
Fix a typo which prevented i386 elf from working at all (including Linux
emulated elf binaries).
-rw-r--r--sys/kern/imgact_elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index aabe534..58af554 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: imgact_elf.c,v 1.24 1998/04/28 18:15:07 eivind Exp $
+ * $Id: imgact_elf.c,v 1.25 1998/06/07 17:11:31 dfr Exp $
*/
#include "opt_rlimit.h"
@@ -157,7 +157,7 @@ elf_check_header(const Elf_Ehdr *hdr, int type)
hdr->e_ident[EI_MAG3] == ELFMAG3))
return ENOEXEC;
-#ifdef __i396__
+#ifdef __i386__
if (hdr->e_machine != EM_386 && hdr->e_machine != EM_486)
#endif
#ifdef __alpha__
OpenPOWER on IntegriCloud