Date: Thu, 1 May 2025 19:51:28 GMT From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: ad94fb48d8bd - stable/14 - ps(1): Whitespace cleanup Message-ID: <202505011951.541JpSt5067172@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=ad94fb48d8bda7cfaec68b3c7897594991b474bc commit ad94fb48d8bda7cfaec68b3c7897594991b474bc Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2025-04-25 18:53:30 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2025-05-01 19:37:02 +0000 ps(1): Whitespace cleanup No functional change (intended). MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit 0d320eb5edc37f6c1bfa5eabc0309350b87c08ad) --- bin/ps/keyword.c | 2 +- bin/ps/ps.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index 4d93cd152f43..7e37217f0219 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -274,7 +274,7 @@ parsefmt(const char *p, int user) /* * If an item contains an equals sign, it specifies a column * header, may contain embedded separator characters and - * is always the last item. + * is always the last item. */ if (tempstr[strcspn(tempstr, "="FMTSEP)] != '=') while ((cp = strsep(&tempstr, FMTSEP)) != NULL && diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 98d95eb08aa7..cd934918ee37 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -1343,7 +1343,7 @@ saveuser(KINFO *ki) /* A macro used to improve the readability of pscomp(). */ #define DIFF_RETURN(a, b, field) do { \ if ((a)->field != (b)->field) \ - return (((a)->field < (b)->field) ? -1 : 1); \ + return (((a)->field < (b)->field) ? -1 : 1); \ } while (0) static int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505011951.541JpSt5067172>