Changeset 1b20da0 in mainline for uspace/lib/c/generic/elf/elf_mod.c


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/elf/elf_mod.c

    rdf6ded8 r1b20da0  
    152152        rc = vfs_read(elf->fd, &pos, header, sizeof(elf_header_t), &nr);
    153153        if (rc != EOK || nr != sizeof(elf_header_t)) {
    154                 DPRINTF("Read error.\n"); 
     154                DPRINTF("Read error.\n");
    155155                return EE_IO;
    156156        }
     
    160160        /* Identify ELF */
    161161        if (header->e_ident[EI_MAG0] != ELFMAG0 ||
    162             header->e_ident[EI_MAG1] != ELFMAG1 || 
     162            header->e_ident[EI_MAG1] != ELFMAG1 ||
    163163            header->e_ident[EI_MAG2] != ELFMAG2 ||
    164164            header->e_ident[EI_MAG3] != ELFMAG3) {
     
    169169        /* Identify ELF compatibility */
    170170        if (header->e_ident[EI_DATA] != ELF_DATA_ENCODING ||
    171             header->e_machine != ELF_MACHINE || 
     171            header->e_machine != ELF_MACHINE ||
    172172            header->e_ident[EI_VERSION] != EV_CURRENT ||
    173173            header->e_version != EV_CURRENT ||
Note: See TracChangeset for help on using the changeset viewer.