git: 5d03965e41eb - stable/13 - elfctl: whitespace cleanup
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Feb 2022 19:55:04 UTC
The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=5d03965e41ebc35b113d4c67555fc273d89df582 commit 5d03965e41ebc35b113d4c67555fc273d89df582 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-02-15 13:45:05 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-02-22 19:54:41 +0000 elfctl: whitespace cleanup Reported by: jrm (in review D34283) (cherry picked from commit 828e50092ac84f50247fb3f400027fc7510d8141) --- usr.bin/elfctl/elfctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/elfctl/elfctl.c b/usr.bin/elfctl/elfctl.c index 7cd851f20170..e98b1b45dcf1 100644 --- a/usr.bin/elfctl/elfctl.c +++ b/usr.bin/elfctl/elfctl.c @@ -82,7 +82,7 @@ static struct option long_opts[] = { #define HOST_ENDIAN ELFDATA2LSB #define SWAP_ENDIAN ELFDATA2MSB #else -#define HOST_ENDIAN ELFDATA2MSB +#define HOST_ENDIAN ELFDATA2MSB #define SWAP_ENDIAN ELFDATA2LSB #endif @@ -406,7 +406,7 @@ get_file_features(Elf *elf, int phcount, int fd, uint32_t *features, /* * XXX: Name and descriptor are 4 byte aligned, however, - * the size given doesn't include the padding. + * the size given doesn't include the padding. */ namesz = roundup2(note.n_namesz, 4); name = malloc(namesz); @@ -445,7 +445,7 @@ get_file_features(Elf *elf, int phcount, int fd, uint32_t *features, /* * XXX: For now we look at only 4 bytes of the - * descriptor. This should respect descsz. + * descriptor. This should respect descsz. */ if (note.n_descsz > sizeof(uint32_t)) warnx("Feature note is bigger than expected");