From 5d03965e41ebc35b113d4c67555fc273d89df582 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 15 Feb 2022 08:45:05 -0500 Subject: [PATCH] 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 7cd851f2017..e98b1b45dcf 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");