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)
|
||||
error(Ebadexec);
|
||||
magic = l2be(exec.magic);
|
||||
if(n == sizeof(Exec) && magic == AOUT_MAGIC){
|
||||
if(n == sizeof(Exec) && (magic == AOUT_MAGIC)){
|
||||
text = l2be(exec.text);
|
||||
entry = l2be(exec.entry);
|
||||
switch(magic){
|
||||
|
|
Loading…
Reference in a new issue