sysexec(): make the mips compiler happy
This commit is contained in:
parent
9ab096a707
commit
e3217c6f6a
1 changed files with 2 additions and 1 deletions
|
@ -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){
|
||||||
|
|
Loading…
Reference in a new issue