From nobody Tue Feb 22 19:55:04 2022 X-Original-To: dev-commits-src-all@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 0F72719E10A3; Tue, 22 Feb 2022 19:55:05 +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 4K38yw50Rmz4fSY; Tue, 22 Feb 2022 19:55:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645559704; 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=LzeRJLVoLiQSAaugOJecPeQtrih9kHsFUuF2cWC7mvk=; b=pUxpsvYGzHEJDT1AG3fjdglSvtQnX+g2u86nuzs4G6ioRi9/CgWgAur3B456AbLO6saSxJ +tychMJEGsFU1sTpXWs1WXimKbGh3hmpiX6ELDcqjSIO7MmkoDFqgGB9/RRvjU3C0ck4YH ulk+WmVRKbva320gen3Do2D+PFiNcQ2s/+LCLub9+7GG2MqSb2qKqZ+p5nKrezslS8Ub3Q yZ6z8q7TMcOPOfYjOchomEceE/Sd/3Mlek8y4urzro1kF7PXxGtyoz3EW9fbc/U2aouXph jz2hnUeW2Qun8AzbfUTQbwIOLflLEZivQd3p6mG0LOt11p/r87VPl0zlaTKvDg== 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 7CBE72614; Tue, 22 Feb 2022 19:55:04 +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 21MJt4ud025915; Tue, 22 Feb 2022 19:55:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21MJt4gh025914; Tue, 22 Feb 2022 19:55:04 GMT (envelope-from git) Date: Tue, 22 Feb 2022 19:55:04 GMT Message-Id: <202202221955.21MJt4gh025914@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 5d03965e41eb - stable/13 - elfctl: whitespace cleanup List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 5d03965e41ebc35b113d4c67555fc273d89df582 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645559704; 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=LzeRJLVoLiQSAaugOJecPeQtrih9kHsFUuF2cWC7mvk=; b=NO0xiWmqq25wra7WovAYMDX8vXyAKnwDDNwOeWj1CykqM9Hr1Hxs0Iw616NRbxoeftKwPw T+YJrWdBfX/U1pxbSydh9cENAuL01ymTvngGNluQtRJzS42fi0h3ohiDYTahE1IrOFqkT0 UF/TVH09oTHeMnkTkkq29iIHKhGy80DoUzq56/0ypYXeDCH9neTIi8E7BamEVlH3oK8Adp +h1ap7++3kioltLCooc/xWYMt8kjZbnKKPgcPNGRRboUEwFioPaH723VHhTgKypUKrlY0Z YOQBhUVkIDemcsZol3cXdMAXYGRlQnCcIx156IMhQi1A3YUpLE9LvdqvbCGYhg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645559704; a=rsa-sha256; cv=none; b=ppbD9+Cg2Zq5mksLHG/fDGt5PFgwINGT5zxoHo3xvsqMtqlWHxQbspDgMgmW98l5QvMrgN zyhcNRy93n3L3NpcPiLK+2r146vPzCVvxUZG8fdCW498QnUgCkTh6y+75hLmivKe1uQmEH mRlWhdIWmDrkcFZjncWCcg52Ol35S5L3hzJd7cwNejF/GulR9q/4IvcHz73Lb9MTkor2c2 Y0mh/Y52jRQ/UYDJsMqRsuapHCbR95etM5ZzK5+baOTXFCYaCWFvhUkD6DF9f/+DnXQWNP SUV8IlHHyPQxGAGzVOOlvhhym3c59vcNHQUC/CfNclSzmWUfMFwpKlK3aFnQkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=5d03965e41ebc35b113d4c67555fc273d89df582 commit 5d03965e41ebc35b113d4c67555fc273d89df582 Author: Ed Maste AuthorDate: 2022-02-15 13:45:05 +0000 Commit: Ed Maste 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");