Fix a typo which prevented i386 elf from working at all (including Linux

emulated elf binaries).
This commit is contained in:
Doug Rabson 1998-06-08 09:19:35 +00:00
parent 1747fd3131
commit 2e91d07af9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36765

View file

@ -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__