From nobody Tue Feb 15 13:46:26 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8E74F19BA4DC; Tue, 15 Feb 2022 13:46:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jyj6p3ZbDz3CKK; Tue, 15 Feb 2022 13:46:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644932786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/WFDR65e5TPG9eq8Kq2eEBEbPlMzIm2sScsPQKU0C2A=; b=eXEX2ht0qH+8UykoIwb3CSGjPyJcgQX5gVxXCqKfHf7uQVPE860dwatn7uEw+Z8Gh62V4K 1RTv73m35eLxWIhlJ2fWmKcZYUsmuKcsyu+zL7DUWVtDTXBbuGTWoAZnILKxov3Pe/Q0/q RocxxiPyuHZDRDPDoTYcCCq5pz57LI9nFAvwSB7fSE4Ieqyz+AY+Ftek5fJ8cXaA6wYPfI aViQznuuvsxzfveNOSIOe7wiUsFOw5AqxNRWvw8ttI9aom1TKle0Yoq7TH6XSNVnhe6fn4 qvl8jpshvHs/HUkexj57J6QW4NaH71L/Mq91cgjlxD7EQ1SUlA6aUhvAb2tB7A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5AF3A2373D; Tue, 15 Feb 2022 13:46:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21FDkQSl082939; Tue, 15 Feb 2022 13:46:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21FDkQdx082938; Tue, 15 Feb 2022 13:46:26 GMT (envelope-from git) Date: Tue, 15 Feb 2022 13:46:26 GMT Message-Id: <202202151346.21FDkQdx082938@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 828e50092ac8 - main - elfctl: whitespace cleanup List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 828e50092ac84f50247fb3f400027fc7510d8141 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644932786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/WFDR65e5TPG9eq8Kq2eEBEbPlMzIm2sScsPQKU0C2A=; b=QLexTFRJ1RMsZP/PxfWY0V8i67pPvG1XWB3XkJG3jtFTQDdcfN+fDLBFPAhM7DOORAW5Mi 3zQR4tupX7i7cDRhtbRsYRPkzcojwZMVQD8UY1A7a+c1TmGF4MytkYhNQhuELiQMDIiuqk i6D7IEYrHmfhfl00+zqhplSFRTRXQsTxHR6K3Y4GNaSV7EQoM0c69kh+8tcpb3nIoXnSK+ kKyCrFJasi1dKrZ3+/ihnImDQ+UGAUzxDV/rXjFfRxGR6RyE0Rwn+9mDRvNem6VLRFuTGv ZggY8AR0ITowj6hNf8YkGA5kOEWbPeSBLcjfMbT9CWN6lPKPp2bOouzSTxdbdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644932786; a=rsa-sha256; cv=none; b=r6hYSGV+OG5T7GdFPSGDcWDmSotlHxickTT5RAR9FYv073uupjhh/gjNJosRCFD8yxkjDJ lSPN5y+fehmCPhP18l0Ki9t4892q0cab6V/BEVcROfYsLfQfn/Lv9waAiVw+K0bizoMR5h 4ty1za3Nlq7hql4Ivyv0xtk59GfxQ24WPPRu157Ru2DboWkUgm7XgguZIp/98XWdGtATeU XC2rHPiY7cwOLEtS/Zo7ELsG1XktdCeUbOm/jac+qxtSIbx4K7QqXEW7BnE+xI6/0pKk37 4FJPWM/DXk7dKox36mI/c2Uhkjpeej32/QjiM/wg1O1GTBEhxoaYQ4avfZOUvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=828e50092ac84f50247fb3f400027fc7510d8141 commit 828e50092ac84f50247fb3f400027fc7510d8141 Author: Ed Maste AuthorDate: 2022-02-15 13:45:05 +0000 Commit: Ed Maste 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");