sysexec(): need () arround AOUT_MAGIC comparsion to handle #define hack on mips
This commit is contained in:
parent
e3217c6f6a
commit
3ca9ac70c4
|
@ -281,7 +281,7 @@ sysexec(va_list list)
|
||||||
if(n <= 2)
|
if(n <= 2)
|
||||||
error(Ebadexec);
|
error(Ebadexec);
|
||||||
magic = l2be(exec.magic);
|
magic = l2be(exec.magic);
|
||||||
if(n == sizeof(Exec) && magic == AOUT_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