On 05/13/2016 05:37 PM, Alistair Francis wrote:
+ if (elf_machine < 1) { + /* The caller didn't specify and ARCH, we can figure it out */
Spotted a comment typo: s/and/an/
+ lseek(fd, 0x12, SEEK_SET); + if (read(fd, &e_machine, sizeof(e_machine)) != sizeof(e_machine)) { + goto fail; + } + elf_machine = e_machine; + } +
-- Cleber Rosa [ Sr Software Engineer - Virtualization Team - Red Hat ] [ Avocado Test Framework - avocado-framework.github.io ]