summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/libmach/executable.c2
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";
}