diff options
author | mischief <mischief@offblast.org> | 2015-08-05 06:37:02 -0700 |
---|---|---|
committer | mischief <mischief@offblast.org> | 2015-08-05 06:37:02 -0700 |
commit | 23215e14d0a15c8274c62bffa326f768bebe54e9 (patch) | |
tree | 2eceb78294d109b4cd883917f885b468ff8d41ba /sys/src/libmach | |
parent | 8e78804fc05e70caf71cfcfe393de22aea1ac22c (diff) |
libmach: remove redundant check for big endian
Diffstat (limited to 'sys/src/libmach')
-rw-r--r-- | sys/src/libmach/executable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libmach/executable.c b/sys/src/libmach/executable.c index 0cb47550d..b53ac1189 100644 --- a/sys/src/libmach/executable.c +++ b/sys/src/libmach/executable.c @@ -736,7 +736,7 @@ elf32dotout(int fd, Fhdr *fp, ExecHdr *hp) if(ep->ident[DATA] == ELFDATA2LSB){ fp->type = FMIPSLE; fp->name = "mips le ELF32 executable"; - } else if(ep->ident[DATA] == ELFDATA2MSB){ + } else { fp->type = FMIPS; fp->name = "mips be ELF32 executable"; } |