git: 828e50092ac8 - main - elfctl: whitespace cleanup
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Feb 2022 13:46:26 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=828e50092ac84f50247fb3f400027fc7510d8141
commit 828e50092ac84f50247fb3f400027fc7510d8141
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-02-15 13:45:05 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-02-15 13:46:14 +0000
elfctl: whitespace cleanup
Reported by: jrm (in review D34283)
---
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");