sysexec(): make the mips compiler happy

This commit is contained in:
cinap_lenrek 2015-07-09 08:34:20 +02:00
parent 9ab096a707
commit e3217c6f6a

View file

@ -280,7 +280,8 @@ sysexec(va_list list)
n = devtab[tc->type]->read(tc, &exec, sizeof(Exec), 0); n = devtab[tc->type]->read(tc, &exec, sizeof(Exec), 0);
if(n <= 2) if(n <= 2)
error(Ebadexec); error(Ebadexec);
if(n == sizeof(Exec) && (magic = l2be(exec.magic)) == AOUT_MAGIC){ magic = l2be(exec.magic);
if(n == sizeof(Exec) && magic == AOUT_MAGIC){
text = l2be(exec.text); text = l2be(exec.text);
entry = l2be(exec.entry); entry = l2be(exec.entry);
switch(magic){ switch(magic){