elf64ldseg: do not pprint warnings on wrong header as it could simply be an rc script
This commit is contained in:
parent
f7c3a41b11
commit
63b227be55
|
@ -315,7 +315,7 @@ elf64ldseg(Chan *c, uintptr_t *entryp, Ldseg **rp, char *mach, uint32_t minpgsz)
|
|||
}
|
||||
|
||||
if(c->dev->read(c, &ehdr, sizeof ehdr, 0) != sizeof ehdr){
|
||||
pprint("elf64ldseg: too short for header\n");
|
||||
// pprint("elf64ldseg: too short for header\n");
|
||||
goto done; // too short to be elf but could be something else
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue