From ad94fb48d8bda7cfaec68b3c7897594991b474bc Mon Sep 17 00:00:00 2001 From: Olivier Certner Date: Fri, 25 Apr 2025 20:53:30 +0200 Subject: [PATCH] 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 4d93cd152f4..7e37217f021 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 98d95eb08aa..cd934918ee3 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